Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

%Power function


Old name
%PowerR


Function
The function returns the power of Arg1Arg2. The result is a real number.
Declaration


Blok kódu
languageesl
themeConfluence
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
, or
  • and Arg2 is not a natural number from the interval 0..1000
  • Arg1 = 0.0
and
  • Arg2 < 0.0
or if result value is too big.
  • the result overflows the range of a real number