[Haskell] for large x, log (x::Integer) :: Double
MR K P SCHUPKE
k.schupke at imperial.ac.uk
Wed Jun 30 15:42:27 EDT 2004
I would think to take an accurate (depends how you define
accurate) arbitrary precision floating point is needed...
gmp 2 supports this, but does not have a log function.
The power series is the way calculators do it... you could
always write a small library of operations on pairs of Integers
to do arbitrary precision floating point, then use the power
series.
Keean.
More information about the Haskell
mailing list