Returns if the number is in safe range
static bool isInSafeRange(num n) { return n <= maxInt && n >= -maxInt; }