power(2,63) is not equal to 9223372036854775808
- Posted by axtens_bruce in February
- 508 views
Following on from this discussion about the tokeniser's handling of 9223372036854775808:
Euphoria Interpreter v4.1.0 development 64-bit Windows, Using System Memory Revision Date: 2015-02-02 14:18:53, Id: 6300:57179171dbed
print(1, power(2,63) - 9223372036854775808)
Should equal zero, right?
1.844674407e+019So until this is fixed we need to use power(2,63) instead of 9223372036854775808 on those rare occasions