[squeak-dev] 2 raisedTo: 63 on Pi returns 0 ? (was Re: how to determine available RAM?)
tim at rowledge.org
Mon May 10 16:59:23 UTC 2021
> On 2021-05-09, at 8:07 PM, Vanessa Freudenberg <vanessa at codefrau.net> wrote:
> 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?
Yeah, very plausible
> If you want some *real* fun step through it under gdb 😬
Doing anything in gdb stopped being 'fun' a long time ago. But I suppose I may have to just hold my nose and try...
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Dukedom: aristocratic birth control
More information about the Squeak-dev