Value of MAXINT?
Posted: Fri Mar 06, 2015 5:04 pm
I see from the manual (thanks to @Dutchman) that Smart BASIC uses standard 64-bit floating point numbers in 1-11-52 bit patterns for sign-power-mantissa parts.
Can I infer from this that any integer with an absolute value smaller than 2^52 will be represented exactly, without rounding, and that if I do arithmetic on integers in that range and the result is also an integer in that range, the result will also be represented exactly, without rounding?
Is this also true of the imaginary parts of complex numbers?
Can I infer from this that any integer with an absolute value smaller than 2^52 will be represented exactly, without rounding, and that if I do arithmetic on integers in that range and the result is also an integer in that range, the result will also be represented exactly, without rounding?
Is this also true of the imaginary parts of complex numbers?