System.BuiltInLog2

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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 Object Pascal compilers support this function:

DCC32 DCC64 DCCOSX DCCAARM DCCIOSARM DCCIOSARM64 DCCIOS32
YesC++11Feature.png
YesC++11Feature.png

See Also