You are here: Symbol Reference > Math387 Namespace > Functions > Math387.Power Function
MtxVec VCL
ContentsIndex
PreviousUpNext
Math387.Power Function

Power function.

Pascal
function Power(const Base: double; const Exponent: double): double; overload;

Base to any power.

IntPower is faster, if Exponent is an integer. Real valued power can handle only positive Exponent and Base. IntPower can also handle negative exponent and/or negative base. To compute a power to the non-integer negative exponent and base in general case, use the complex version of the function.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!