Difference between revisions of "Pow"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function Pow(Base, Exponent: Extended): Extended; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Calculat...") |
|||
Line 8: | Line 8: | ||
==Description== | ==Description== | ||
− | Calculates the [http://mathworld.wolfram.com/Power.html power] of base given by ''Base''' and an exponent given by '''Exponent'''. | + | Calculates the [http://mathworld.wolfram.com/Power.html power] of an [[extended]] base given by ''Base''' and an [[extended]] exponent given by '''Exponent'''. |
==Example== | ==Example== |
Latest revision as of 12:37, 3 July 2011
Definition
function Pow(Base, Exponent: Extended): Extended;
Availability
SCAR Divi 3.00 > Current
Description
Calculates the power of an extended base given by Base' and an extended exponent given by Exponent.
Example
begin WriteLn(Pow(2, 5)); end.
Output:
32