%Power function


Old name
%PowerR


Function
The function returns the power of Arg1Arg2. The result is a real number.
Declaration
REAL %Power(
   REAL in Arg1, 
   REAL in Arg2
 )
Parameters
Arg1Variable, which power will be calculated.
Arg2Exponent.
Note

The function returns undefined value if:

  • Arg1 < 0.0 and Arg2 is not a natural number from the interval 0..1000
  • Arg1 = 0.0
  • Arg2 < 0.0
  • the result overflows the range of a real number
Napíšte komentár