Query: signbit
OS: hpux
Section: 3m
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
signbit(3M) signbit(3M)NAMEsignbit() - floating-point sign-determinationSYNOPSISfloating-typeDESCRIPTIONThe 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 orUSAGETo 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 VALUEThe macro returns a nonzero value if and only if the sign of its argument value is negative. The macro raises no exceptions.ERRORSNo errors are defined.EXAMPLESTake certain actions if is negative zero:SEE ALSOfpclassify(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)
Related Man Pages |
---|
fpclassify(3) - mojave |
fpclassify(3m) - hpux |
isinf(3m) - hpux |
isnormal(3m) - hpux |
fpclassify(3) - osx |
Similar Topics in the Unix Linux Community |
---|
Help to move leading negative sign to trailing position |