System.Math.IntPower
Delphi
function IntPower(const Base: Single; const Exponent: Integer): Single;
function IntPower(const Base: Double; const Exponent: Integer): Double;
function IntPower(const Base: Extended; const Exponent: Integer): Extended;
C++
extern DELPHI_PACKAGE float __fastcall IntPower(const float Base, const int Exponent)/* overload */;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
Description
Calcule la puissance entière d'une valeur de base.
IntPower élève Base à la puissance spécifiée par Exponent.