[squeak-dev] 2 raisedTo: 63 on Pi returns 0 ? (was Re: how to determine available RAM?)
vanessa at codefrau.net
Mon May 10 03:07:18 UTC 2021
On Sun, May 9, 2021 at 10:57 tim Rowledge <tim at rowledge.org> wrote:
> So we're rather pointed to some peculiarity of the 16r80000000
> bit-pattern? My brian hurts.
That is a very peculiar bit pattern indeed, in that it is exactly where
signed arithmetic wraps around. So signed/unsigned or < vs <= or a
combination thereof perhaps?
If you want some *real* fun step through it under gdb 😬
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev