tail head cat sleep
QR code linking to this page

Manual Pages  — SIGNBIT

NAME

signbit – determine whether a floating-point number's sign is negative

CONTENTS

LIBRARY

Math Library (libm, -lm)

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), math(3)

STANDARDS

The signbit() macro conforms to ISO/IEC 9899:1999 ("ISO C99").

HISTORY

The signbit() macro was added in FreeBSD 5.1 .

SIGNBIT (3) July 18, 2004

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

Our grievance is not just against Unix itself, but against the cult of Unix zealots who defend and nurture it. They take the heat, disease, and pestilence as givens, and, as ancient shamans did, display their wounds, some self-inflicted, as proof of their power and wizardry. We aim, through bluntness and humor, to show them that they pray to a tin god, and that science, not religion, is the path to useful and friendly technology.
— The Unix Haters' handbook