System.Math.Power
Delphi
function Power(const Base, Exponent: Extended): Extended;
function Power(const Base, Exponent: Double): Double; overload;
function Power(const Base, Exponent: Single): Single; overload;
C++
extern DELPHI_PACKAGE System::Extended __fastcall Power(const System::Extended Base, const System::Extended Exponent)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
Description
Raises Base to any Exponent power.
Power raises Base to any Exponent power. For fractional exponents or exponents greater than MaxInt, Base must be greater than 0.