Calculates the floating point number from a mantissa and exponent.
double ldexp (double x, int pw2);
Required Header |
<math.h> |
Return Value
This function returns the floating point result.
Parameters
x
The mantissa
pw2
The exponent
Remarks
The ldexp function returns x * 2^pw2.