www.delorie.com/djgpp/doc/libc-2.01/libc_437.html   search  
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.

Example

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


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

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997