bug in logarithm()
Jeff Johnston
jjohnstn@redhat.com
Wed Oct 17 22:45:00 GMT 2007
Martin Koeppe wrote:
>
> Hi,
>
> I just found a bug (or at least a discrepancy between doc and src) in
> newlib's libm, files mathfp/s_logarithm.c and mathfp/sf_logarithm.c:
>
> There the docs at the beginning of the files say, log(0) returns -Inf,
> what the gawk test suite would also expect btw, but clearly the
> implementation doesn't return -Inf, but NaN instead.
>
> Martin
A fix has been made. Thanks.
-- Jeff J.
More information about the Newlib
mailing list