Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

signbit(3m) [hpux man page]

signbit(3M)															       signbit(3M)

NAME
signbit() - floating-point sign-determination SYNOPSIS
floating-type DESCRIPTION
The macro determines whether the sign of its argument value (which may be a floating-point number, zero, infinity, or NaN) is negative. The argument must be of floating type. For HP Integrity servers, the argument can be any floating type. For PA-RISC, the argument must be either or USAGE
To use the macro, compile either with the default option or with the and options. Make sure your program includes Link in the math library by specifying on the compiler or linker command line. RETURN VALUE
The macro returns a nonzero value if and only if the sign of its argument value is negative. The macro raises no exceptions. ERRORS
No errors are defined. EXAMPLES
Take certain actions if is negative zero: SEE ALSO
fpclassify(3M), isfinite(3M), isinf(3M), isnan(3M), isnormal(3M), math(5). STANDARDS CONFORMANCE
: ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'') signbit(3M)

Check Out this Related Man Page

isinf(3M)																 isinf(3M)

NAME
isinf() - floating-point test for infinity SYNOPSIS
DESCRIPTION
The macro determines whether its argument is an infinity. The argument must be of floating type, and classification is based on the type of the argument. For HP Integrity servers, the argument can be any floating type. For PA-RISC, the argument must be either or The macro replaces the and functions, which are obsolete and are no longer supported. USAGE
To use the macro, compile either with the default option or with the and options. Make sure your program includes Link in the math library by specifying on the compiler or linker command line. RETURN VALUE
The macro returns a nonzero value if x is Otherwise, it returns zero. The macro raises no floating-point exceptions. ERRORS
No errors are defined. EXAMPLES
Take certain actions if is infinity: SEE ALSO
fpclassify(3M), isfinite(3M), isnan(3M), isnormal(3M), signbit(3M), math(5). STANDARDS CONFORMANCE
isinf(3M)
Man Page