System.Math.Log2
Delphi
function Log2(const X: Single): Single;
function Log2(const X: Double): Double;
function Log2(const X: Extended): Extended;
C++
extern DELPHI_PACKAGE float __fastcall Log2(const float X)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
説明
2 を底とする対数を計算します。
Log2 は、2 を底とする X の対数を返します。