ldexp3
Multiply floating-point number by integral power of 2
Usage
#include <math.h>
double
ldexp(double x, int exp);
float
ldexpf(float x, int exp);
long double
ldexpl(long double x, int exp);
Library
Math Library (libm, -lm)
Overview
The ldexp(), ldexpf(), and ldexpl() functions multiply a floating-point number by an integral power of 2.
Return values
These functions return the value of x times 2 raised to the power exp.
Releases
87 releases since FreeBSD 2.0.5-RELEASE; the text changed 42 times.