Hi ALl,
try printing 16r20000000 in trunk. One gets 0. Try '16r20000000' asInteger one gets 16. This is, um, getting in the way of normal development ;-)
_,,,^..^,,,_ best, Eliot
Hi Eliot --
Cannot reproduce the bug:
OS: Win32 10.0 X64 VM: 202206021410 (c9fd365) SQ: Squeak6.1alpha #22301 (64 bit)
16r20000000. " 536870912 " '16r20000000' asInteger. " 16 "
Looks okay. For the String, not sure what the expectation is. 16 looks okay but an error would have been nice...
Best, Marcel Am 09.12.2022 08:34:30 schrieb Eliot Miranda eliot.miranda@gmail.com: Hi ALl,
try printing 16r20000000 in trunk. One gets 0. Try '16r20000000' asInteger one gets 16. This is, um, getting in the way of normal development ;-)
_,,,^..^,,,_
best, Eliot
Marcel, Nicolas,
I apologise! I have a VM bug :-(
On Thu, Dec 8, 2022 at 12:34 PM Marcel Taeumel marcel.taeumel@hpi.de wrote:
Hi Eliot --
Cannot reproduce the bug:
OS: Win32 10.0 X64 VM: 202206021410 (c9fd365) SQ: Squeak6.1alpha #22301 (64 bit)
16r20000000. " 536870912 " '16r20000000' asInteger. " 16 "
Looks okay. For the String, not sure what the expectation is. 16 looks okay but an error would have been nice...
Best, Marcel
Am 09.12.2022 08:34:30 schrieb Eliot Miranda eliot.miranda@gmail.com: Hi ALl,
try printing 16r20000000 in trunk. One gets 0. Try '16r20000000'
asInteger one gets 16. This is, um, getting in the way of normal development ;-)
_,,,^..^,,,_ best, Eliot
squeak-dev@lists.squeakfoundation.org