Query: ldexp
OS: netbsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
LDEXP(3) BSD Library Functions Manual LDEXP(3)NAMEldexp, ldexpf -- multiply floating-point number by integral power of 2LIBRARYMath Library (libm, -lm)SYNOPSIS#include <math.h> double ldexp(double x, int exp); float ldexpf(float x, int exp);DESCRIPTIONThe ldexp() family of functions compute x * 2^exp for a real floating-point number x.RETURN VALUESThe functions return the value of x times 2 raised to the power exp. Otherwise the following may occur: 1. If x is NaN, a NaN is returned. 2. If exp is zero or x is either +- 0 or +-oo, x is returned. 3. If the call would cause an overflow, a range error occurs and either +-HUGE_VAL, +-HUGE_VALF, or +-HUGE_VALL is returned, depend- ing on the sign of x and the type of the return value. 4. If an underflow would be caused by the correct value, and the value is not representable, either 0.0 or an implementation-defined value is returned.SEE ALSOfrexp(3), math(3), modf(3)STANDARDSThe described functions conform to ISO/IEC 9899:1999 (``ISO C99'').BSDSeptember 18, 2011 BSD
Related Man Pages |
---|
ldexpf(3) - linux |
ldexpl(3) - linux |
ldexp(3) - debian |
ldexpf(3) - debian |
ldexp(3) - suse |
Similar Topics in the Unix Linux Community |
---|
Sendmail & SMTP |
sendmail problem on Solaris 10 |
Help to configure sendmail on Solaris 10 |
Reported Post by drl |
Perl:: mass replacement of converting C code formats to tgmath.h |