On Mon, Nov 11, 2002 at 10:11:57PM -0500, Peter Kabal wrote:
>gcc version 3.2 20020818 (prerelease)
>
>printf ("%g", log(0));
>
>This prints "NaN" instead of "-Inf" as it should (and did in the past).
>A check of the bit pattern returned shows that that log(0) returns a bit
>pattern corresponding t
gcc version 3.2 20020818 (prerelease)
printf ("%g", log(0));
This prints "NaN" instead of "-Inf" as it should (and did in the past).
A check of the bit pattern returned shows that that log(0) returns a bit
pattern corresponding to "-Inf", but printf prints "NaN" instead.
I am not sure which C li
2 matches
Mail list logo