SilverScreen Solid Modeler

ldexp

ldexp

Previous topic Next topic  

ldexp

Previous topic Next topic JavaScript is required for the print function  

StandardCLibrary

 

double ldexp( double x, int n )

 

double x;        /* a double value */

int    n;        /* an integer */

 

 




Synopsis

#include "math"

 

The ldexp function calculates the value of the function: x * pow( 2, n ). If the result is too large to be represented in a double, errno is set to ERANGE .

 

 

Parameters

x is a double. n is an integer value.

 

 

Return Value

ldexp returns the value of the function.