Difference between revisions of "ApCoCoA-1:Fn.Pow"
From ApCoCoAWiki
S schuster (talk | contribs) (New page: <command> <title>Fn.Pow</title> <short_description>Returns <tt>Base</tt> to the power of <tt>Exponent</tt>.</short_description> <syntax> Fn.Pow(Base:RAT,Exponent:RAT):RAT </syntax> <de...) |
m (insert version info) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Version|1}} | ||
<command> | <command> | ||
<title>Fn.Pow</title> | <title>Fn.Pow</title> | ||
Line 32: | Line 33: | ||
</example> | </example> | ||
</description> | </description> | ||
− | <see> | + | <see>ApCoCoA-1:Fn.PowN|Fn.PowN</see> |
− | <see> | + | <see>ApCoCoA-1:Fn.SetAccuracy|Fn.SetAccuracy</see> |
− | <see> | + | <see>ApCoCoA-1:Fn.GetAccuracy|Fn.GetAccuracy</see> |
<key>Fn.Pow</key> | <key>Fn.Pow</key> | ||
− | <key> | + | <key>elemfns.Pow</key> |
<key>Pow</key> | <key>Pow</key> | ||
− | <wiki-category>Package_elemfns</wiki-category> | + | <wiki-category>ApCoCoA-1:Package_elemfns</wiki-category> |
</command> | </command> |
Latest revision as of 10:04, 7 October 2020
This article is about a function from ApCoCoA-1. |
Fn.Pow
Returns Base to the power of Exponent.
Syntax
Fn.Pow(Base:RAT,Exponent:RAT):RAT
Description
This function returns the value of Base to the power of Exponent.
with the current global accuracy.
@param Base The base.
@param Exponent The exponent.
@return Returns Base^Exponent.
Example
Fn.SetAccuracy(20); R := Fn.Pow(2,10); Dec(R, 30); 1024 -------------------------------
Example
Fn.SetAccuracy(20); R := Fn.Pow(2,10/3); Dec(R, 30); 10.07936839915898531814 -------------------------------