> On 1 Jun 2017, at 15:59, Henrik Sperre Johansen 
> <[email protected]> wrote:
> 
> SmallInteger >> digitAt: has an n > 4 ifTrue: [^0] check, in 64bit this needs
> to check against 8. 
> (The value represents max number of 8-bit digits in a SmallInteger)

I guess that the special case in there should also be adapted to:

self = SmallInteger minVal ifTrue:
   ["Can't negate minVal -- treat specially"
    ^ #(0 0 0 0 0 0 0 16) at: n].

Correct ?

Reply via email to