freebsd man page for signbit

Query: signbit

OS: freebsd

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SIGNBIT(3)						   BSD Library Functions Manual 						SIGNBIT(3)

NAME
signbit -- determine whether a floating-point number's sign is negative
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.
BSD
July 18, 2004 BSD
Related Man Pages
signbit(3m) - opensolaris
signbit(3) - linux
signbit(3) - debian
signbit(3) - suse
signbit(3) - v7
Similar Topics in the Unix Linux Community
Unix File Permissions
Mac OS X: Based on UNIX - Solid As a Rock
Valid separator in time and date format