Category talk:Wren-math: Difference between revisions
→Source code: Changed name of just added isRoot method to isPower
(→Source code: Added various integer root functions..) |
(→Source code: Changed name of just added isRoot method to isPower) |
||
Line 184:
// Returns whether or not 'x' is a perfect 'n'th power.
static
var r = root(n, x)
return r.pow(n) == x
|