|
ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages
|
|
This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles. For more information about the manual page format, see the manual page for manpages(5). |
SIGNBIT(3) BSD Library Functions Manual SIGNBIT(3)
NAME
signbit -- determine whether a floating-point number's sign is negative
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <math.h>
int
signbit(real-floating x);
DESCRIPTION
The signbit() macro takes an argument of x. It returns non-zero if the value of the argument's sign is
negative, otherwise 0.
SEE ALSO
fpclassify(3), math(3)
STANDARDS
The signbit() macro conforms to ISO/IEC 9899:1999 (``ISO C99'').
BSD February 11, 2003 BSD
|
|