Re: power(2,63) is not equal to 9223372036854775808
- Posted by axtens_bruce Feb 14, 2023
- 791 views
Even more interesting
print(1, power(2,63) - 1 = 9223372036854775807) puts(1,"\n") print(1, power(2,63) = 9223372036854775808) puts(1,"\n") print(1, power(2,63) + 1 = 9223372036854775809) puts(1,"\n") print(1, power(2,63) + 2 = 9223372036854775810)
>eui bug.ex 1 0 0 1