Difference between revisions of "Pow"
From Mesham
Jump to navigationJump to searchm (5 revisions imported) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
This pow(n,x) function will return ''n'' to the power of ''x''. | This pow(n,x) function will return ''n'' to the power of ''x''. | ||
− | * '''Pass:''' Two | + | * '''Pass:''' Two [[Int|Ints]] |
− | * '''Returns:''' A | + | * '''Returns:''' A [[Double]] representing the squared result |
== Example == | == Example == | ||
#include <maths> | #include <maths> | ||
− | var a:=pow(2,8); | + | |
+ | function void main() { | ||
+ | var a:=pow(2,8); | ||
+ | }; | ||
+ | |||
+ | ''Since: Version 0.41b'' | ||
[[Category:Function Library]] | [[Category:Function Library]] | ||
[[Category:Maths Functions]] | [[Category:Maths Functions]] |