Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%Power function


Old name
%PowerR


Function
The function returns the power of Arg1Arg2. Result  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 an undefined value if if 

  • Arg1 < 0.
0, or
  • 0 and Arg2 is not a natural number from 0 to 1000
  • Arg1 = 0.0 and Arg2 < 0.0
or if result value is too big.
  • The result overflows the range of real numbers