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

Bug#136836: marked as done (libc6: pow(nan, 0) returns 0?)



At 03 Jan 2003 01:25:14 -0500,
Anthony DeRobertis wrote:
> [1  <text/plain; ISO-8859-1 (quoted-printable)>]
> > I don't have IEEE754 and ANSI floating point issue, so I don't know
> > whether ANSI defines this behavior or not.  If you have IEEE754 or any
> > related standards, and if such standards say pow(NaN, 0) have to
> > return NaN, reopen this bug.
> 
> C99 draft standard (last freely available version, see
> http://std.dkuug.dk/jtc1/sc22/open/n2794/n2794.pdf):
> 
> 	F.9.4.4(1): pow(x, ±0) returns 1 for any x, even a NaN.
> 
> So it seems glibc is correct.

Thanks, we really close this bug :)

Regards,
-- gotom



Reply to: