[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Error in optimizing exp(-Inf) using gcc-2.95



reassign 27516 libc6-dev
reassign 37154 libc6-dev
thanks

[Reassigning these two bugs to libc6-dev; please reassign them back,
 in the case that the misbehaviour is not in libc6-dev, which provides 
 the inline function].

exp(inf) yields a wrong result (NaN) on i386, when compiled with -Ox, where
x > 0. When compiled with gcc -ansi or gcc -std=c9x or
gcc --D__NO_MATH_INLINES=1, you get the correct result 0.


Reply to: