System.Math.Log2

De RAD Studio API Documentation
Aller à : navigation, rechercher

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 */;

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.Math.pas
System.Math.hpp
System.Math System.Math

Description

Calcule le logarithme en base 2.

Log2 renvoie le logarithme en base 2 de X.

Voir aussi