On Apr 18 13:21, Bruno Haible via Cygwin wrote:
> POSIX [1] specifies that the return value of the functions ilogbf(), ilogb(),
> ilogbl() for a NaN argument should all be the same, namely FP_ILOGBNAN.
>
> [1] https://pubs.opengroup.org/onlinepubs/9699919799/functions/ilogb.html
>
> In Cygwin 3.4
POSIX [1] specifies that the return value of the functions ilogbf(), ilogb(),
ilogbl() for a NaN argument should all be the same, namely FP_ILOGBNAN.
[1] https://pubs.opengroup.org/onlinepubs/9699919799/functions/ilogb.html
In Cygwin 3.4.6, the value of ilogbl(NaN) is not right.
How to reproduce
2 matches
Mail list logo