Query: ldexp
OS: freebsd
Section: 3
Links: freebsd man pages all man pages forum categories
Format:Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
LDEXP(3) BSD Library Functions Manual LDEXP(3)NAMEldexp, ldexpf, ldexpl -- 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); long double ldexpl(long double x, int exp);DESCRIPTIONThe ldexp(), ldexpf(), and ldexpl() functions multiply a floating-point number by an integral power of 2.RETURN VALUESThese functions return the value of x times 2 raised to the power exp.SEE ALSOfrexp(3), math(3), modf(3)STANDARDSThe ldexp(), ldexpf(), and ldexpl() functions conform to ISO/IEC 9899:1999 (``ISO C99'').BSDMarch 4, 2005 BSD