Category talk:Wren-math: Difference between revisions

→‎Source code: Removed a constant which is now in the core library.
(→‎Source code: Removed all methods which are now in core library as well as type aliases. Added Int.isSquare and Int.isCube methods.)
(→‎Source code: Removed a constant which is now in the core library.)
Line 88:
/* Int contains various routines which are only applicable to integers. */
class Int {
// Maximum safe integer = 2^53 - 1.
static maxSafe { 9007199254740991 }
 
// Returns whether or not 'n' is a perfect square.
static isSquare(n) {
9,485

edits