Menu

Commit [r494]  Maximize  Restore  History

- the log() and log10() functions always returned -inf() even if the arguments

was within the valid range for a log() function. Using DBL_EPSILON as the
threshold was not correct as EPSILON is 2.2204460492503131E-16 whereas
values like 1E-200 are still valid double values for a log().

damato 2007-11-08

changed /trunk/library/changes
changed /trunk/library/math_log.c
changed /trunk/library/math_log10.c
/trunk/library/changes Diff Switch to side-by-side view
Loading...
/trunk/library/math_log.c Diff Switch to side-by-side view
Loading...
/trunk/library/math_log10.c Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.