System.Math.Ldexp
From RAD Studio API Documentation
Delphi
function Ldexp(const X: Single; const P: Integer): Single; function Ldexp(const X: Double; const P: Integer): Double; function Ldexp(const X: Extended; const P: Integer): Extended;
C++
extern DELPHI_PACKAGE float __fastcall Ldexp(const float X, const int P)/* overload */;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
Description
Calculates X times (2 to the power of P).
Ldexp returns X times (2 to the power of P).