System.Math.Ldexp
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 */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
説明
X * 2^P(2 の P 乗かける X)を計算します。
Ldexp は、X * 2^P(2 の P 乗かける X)を返します。