Ldexp function
Return (2 to the power p) times x.
Declaration
function Ldexp(X: single; p: Integer): singleDescription
Ldexp returns (2 to the power
p) times
x.Errors
None.
See also
Example: ex19
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.An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
