RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Math.Power Function

Raises Base to any power.

Pascal
function Power(const Base: Extended; const Exponent: Extended): Extended; overload;
function Power(const Base: Double; const Exponent: Double): Double; overload;
function Power(const Base: Single; const Exponent: Single): Single; overload;
C++
Extended Power(const Extended Base, const Extended Exponent);
Double Power(const Double Base, const Double Exponent);
Single Power(const Single Base, const Single Exponent);

Math

Power raises Base to any power. For fractional exponents or exponents greater than MaxInt, Base must be greater than 0. 

 

IntPower 

Sqrt

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!