*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> signbit (3)              
Title
Content
Arch
Section
 

SIGNBIT(3)

Contents


NAME    [Toc]    [Back]

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

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <math.h>

     int
     signbit(real-floating x);

DESCRIPTION    [Toc]    [Back]

     The signbit() macro takes an argument of x and returns non-zero if the
     value of its sign is negative, otherwise 0.

SEE ALSO    [Toc]    [Back]

      
      
     fpclassify(3), math(3)

STANDARDS    [Toc]    [Back]

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

HISTORY    [Toc]    [Back]

     The signbit() macro was added in FreeBSD 5.1.


FreeBSD 5.2.1		       February 11, 2003		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
isnan IRIX determine type of floating-point number
isinf FreeBSD classify a floating-point number
uitrunc Tru64 truncate a floating-point number
fabs Linux absolute value of floating-point number
isfinite FreeBSD classify a floating-point number
isnormal FreeBSD classify a floating-point number
isnan FreeBSD classify a floating-point number
fpclassify FreeBSD classify a floating-point number
itrunc Tru64 truncate a floating-point number
ecvt IRIX convert floating-point number to string
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service