Difference between revisions of "ApCoCoA-1:Fn.PowN"
From ApCoCoAWiki
m (Bot: Category moved) |
m (fixed links to namespace ApCoCoA) |
||
Line 31: | Line 31: | ||
</example> | </example> | ||
</description> | </description> | ||
− | <see>Fn.Pow</see> | + | <see>ApCoCoA-1:Fn.Pow|Fn.Pow</see> |
− | <see>Fn.SetAccuracy</see> | + | <see>ApCoCoA-1:Fn.SetAccuracy|Fn.SetAccuracy</see> |
− | <see>Fn.GetAccuracy</see> | + | <see>ApCoCoA-1:Fn.GetAccuracy|Fn.GetAccuracy</see> |
<key>Fn.PowN</key> | <key>Fn.PowN</key> | ||
<key>elemfns.PowN</key> | <key>elemfns.PowN</key> |
Revision as of 08:15, 7 October 2020
Fn.PowN
Returns Base to the power of Exponent with a given accuracy.
Syntax
Fn.PowN(Base:RAT,Exponent:RAT,Acc:INT):RAT
Description
This function returns the value of Base to the power of Exponent.
rounded to the given accuracy Acc.
@param Base The base.
@param Exponent The exponent.
@param Acc The desired accuracy.
@return Returns Base^Exponent rounded to the given accuracy Acc.
Example
R := Fn.PowN(2,10,30); Dec(R, 40); 1024 -------------------------------
Example
R := Fn.PowN(2,10/3,30); Dec(R, 40); 10.079368399158985318137684858226 -------------------------------