Is it possible to have a number bigger than -2^32? I would've thought a float could handle it, but assigning "-2147483649" to a float gives the same result as it does if you assign it to an int. i.e.
LOCAL X#=-2147483649
LOCAL Y#=-2147483649
Result
X=2147483647
Y=2147483647
According to wikipedia the range on a float should be
QuoteDouble precision floating point provides a relative precision of about 16 decimal digits and magnitude range from about 10-308 to about 10+308
which sounds to me like it should handle it. Is this a bug?
Yes. In order to hard-code a floating point number, add a ".0", like:
4294967295.0 instead of 4294967295
Great, that works. Thanks!