[Cuis-dev] Curious bug
Luciano Notarfrancesco
luchiano at gmail.com
Tue Jun 23 06:58:39 PDT 2020
Sorry, should be whileTrue there...
On Tue, 23 Jun 2020 at 8:57 PM, Luciano Notarfrancesco <luchiano at gmail.com>
wrote:
> Try this in a workspace:
>
> [a _ (1 << 60) atRandom.
> b _ (a bitReverse: 64) bitReverse: 64.
> a = b] whileFalse
>
> I tested it in the latest image with a recent cog spur x64 VM. The loop
> stops with a ‘b’ that is a LargePositiveInteger but it actually fits in a
> SmallInteger and it is equal to ‘a’. I don’t have time to debug it until
> the weekend but I thought someone might find it amusing.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200623/591d0f48/attachment.htm>
More information about the Cuis-dev
mailing list