Re: poke8 problems : 64-bit numbers in a 53-bit language
- Posted by petelomax Sep 29, 2015
- 1530 views
SDPringle said...
but rather #FFFF_FFFF_FFFF_F800 because of the limits of 64-bit atoms.
That's interesting. Phix craps out at #7FFF_FFFF_FFFF_FC00, some kind of sign/1 bit shift thing. It also strikes me that the 0 is in effect a rounding up to #1_0000_0000_0000_0000.
You are quite right, of course: the real culprit here is poke8 quietly doing something stupid rather then crashing. I think I've been looking at this from the wrong side.
Cheers,
Pete
PS: this post isn't meant to help you either, just saying thanks