DragonFly On-Line Manual Pages
SIGNBIT(3) DragonFly Library Functions Manual SIGNBIT(3)
NAME
signbit - determine whether a floating-point number's sign is negative
SYNOPSIS
#include <math.h>
int
signbit(real-floating x);
DESCRIPTION
The signbit() macro takes an argument of x and returns non-zero if the
value of its sign is negative, otherwise 0.
SEE ALSO
fpclassify(3)
STANDARDS
The signbit() macro conforms to ISO/IEC 9899:1999 ("ISO C99").
HISTORY
The signbit() macro was added in DragonFly 1.3.
DragonFly 5.9-DEVELOPMENT March 28, 2020 DragonFly 5.9-DEVELOPMENT