ldexp()
Calculates x*2^n.
Synopsis
float ldexp (float x, int n);
Parameters
| Parameters | Meaning |
|---|---|
| x | Factor |
| n | Exponent |
Return value
The function returns the result of the function or in the event of errors, 0.0.
Error
Description
Calculates the formula x*2^n.
Example
main()
{
f=Idexp(3,8); // 3*2^8=768
}
Assignment
Mathematical function
Availability
CTRL
