simple question [OT]
Eljay Love-Jensen
eljay@adobe.com
Wed Nov 27 10:19:00 GMT 2002
Hi Charles,
I believe the algorithm, and the results (including 15!) are correct...
given the number of significant digits that the algorithm commits to, which
I think is around 6 significant digits.
The algorithm is an approximation of the mathematical gamma function,
relying on the asymptotic nature of the natural log of the gamma function.
Also, floats and doubles have digits of precision as well, which I assume
is accounted for in the number of significant digits in the lnGamma contract.
Sincerely,
--Eljay
More information about the Gcc-help
mailing list