Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com> writes:
> It also doesn't seem to work terribly well:
It's not terribly bright about figuring out how many significant digits
it should try to calculate, nor about how many it's actually got in the
result. Feel free to fix that ;-) I believe the numeric exp() and ln()
functions have similar issues.
regards, tom lane