Category talk:Wren-math: Difference between revisions

Content deleted Content added
PureFox (talk | contribs)
→‎Source code: Added Cantor pair/unpair methods to Int class.
PureFox (talk | contribs)
→‎Source code: Math.cbrt now deals properly with negative numbers.
Line 38:
 
// Returns the cube root of 'x'.
static cbrt(x) { (x >= 0) ? x.pow(1/3) : -(-x).pow(1/3) }
 
// Returns the square root of 'x' squared + 'y' squared.
Return to "Wren-math" page.