System.BuiltInLog2

From RAD Studio API Documentation

Delphi

function BuiltInLog2(X: Extended): Extended; overload;
function BuiltInLog2(X: Double): Double; overload;
function BuiltInLog2(X: Single): Single; overload;

Properties

Type Visibility Source Unit Parent
function public System.pas System System

Description

Calculates log base 2.

BuiltInLog2 returns the log base 2 of X.

Compiler Support

The following table shows which Delphi compilers support this function:

DCC32 DCC64 DCCOSX DCCAARM DCCIOSARM DCCIOSARM64 DCCIOS32

See Also