System.BuiltInLog2

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function BuiltInLog2(X: Real): Extended; overload;
function BuiltInLog2(X: Real): Double; overload;
function BuiltInLog2(X: Real): 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
YesC++11Feature.png
YesC++11Feature.png

See Also