Go to the first, previous, next, last section, table of contents.


ldexp

Syntax

#include <math.h>

double ldexp(double val, int exp);

Return Value

This function returns val * 2 ** exp.

Portability

ANSI, POSIX

Example

ldexp(3.5,4) == 3.5 * 16 == 56.0


Go to the first, previous, next, last section, table of contents.