System.Math.Log2
From RAD Studio API Documentation
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 */;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
Description
Calculates log base 2.
Log2 returns the log base 2 of X.