Return (2 to the power p) times x.
Source position: math.pp line 628
| function Ldexp( | 
| X: single; | 
| p: Integer | 
| ):single; | 
| X: Double; | 
| p: Integer | 
| ):Double; | 
| X: extended; | 
| p: Integer | 
| ):extended; | 
Ldexp returns (2 to the power p) times x.
None.
| 
 | Return natural logarithm of 1+X. | |
| 
 | Return 10-Based logarithm. | |
| 
 | Return 2-based logarithm. | |
| 
 | Return N-based logarithm. | 
Program Example19; { Program to demonstrate the ldexp function. } Uses math; begin writeln(ldexp(2,4):8:4); writeln(ldexp(0.5,3):8:4); end.