SIGNBITSection: libc math functions (3)Updated: 2002-08-10 |
SIGNBITSection: libc math functions (3)Updated: 2002-08-10 |
int signbit (X);
This is not the same as `x < 0.0', because IEEE 754 floating point allows zero to be signed. The comparison `-0.0 < 0.0' is false, but `signbit (-0.0)' will return a nonzero value.