[squeak-dev] 2 raisedTo: 63 on Pi returns 0 ? (was Re: how to determine available RAM?)

Tony Garnock-Jones tonyg at leastfixedpoint.com
Fri May 7 08:27:35 UTC 2021


On 5/7/21 1:33 AM, tim Rowledge wrote:
> 2 raisedTo: 63
> in a Workspace. I was a little surprised to see '0' returned.

Eek!

I don't see this BTW. Here's what I get:

   2 raisedTo: 63 "9223372036854775808"

Output from uname -a:

Linux zip 5.10.0-6-amd64 #1 SMP Debian 5.10.28-1 (2021-04-09) x86_64 
GNU/Linux

Output from squeak -version:

5.0-202003021730  Tue Mar  3 08:27:37 UTC 2020 clang [Production Spur 
64-bit VM]
CoInterpreter VMMaker.oscog-nice.2715 uuid: 
78e2f556-9829-42fe-963d-e19dfc43c0e9 Mar  3 2020
StackToRegisterMappingCogit VMMaker.oscog-eem.2719 uuid: 
e40f3e94-3a54-411b-9613-5d19114ea131 Mar  3 2020
VM: 202003021730 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
Date: Mon Mar 2 18:30:55 2020 CommitHash: 6a0bc96
Plugins: 202003021730 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
Linux travis-job-16fcd698-43db-40d8-82c2-9f02c4a1c566 4.15.0-1028-gcp 
#29~16.04.1-Ubuntu SMP Tue Feb 12 16:31:10 UTC 2019 x86_64 x86_64 x86_64 
GNU/Linux
plugin path: 
/opt/Squeak/Squeak6.0alpha-19905-64bit-202003021730-Linux/bin/ [default: 
/opt/Squeak/Squeak6.0alpha-19905-64bit-202003021730-Linux/bin/]

Finally, from "About Squeak" in the image:

Image
-----
/home/tonyg/src/Squeak/squeak.image
Squeak6.0alpha
latest update: #20329
Current Change Set: Unnamed
Image format 68021 (64 bit)
Preferred bytecode set: SistaV1

Virtual Machine
---------------
squeak
Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives 
VMMaker.oscog-nice.2715]
Unix built on Mar  3 2020 08:27:09 Compiler: 4.2.1 Compatible Clang 
7.0.0 (tags/RELEASE_700/final)
platform sources revision VM: 202003021730 
https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Mon Mar 2 
18:30:55 2020 CommitHash: 6a0bc96 Plugins: 202003021730 
https://github.com/OpenSmalltalk/opensmalltalk-vm.git
CoInterpreter VMMaker.oscog-nice.2715 uuid: 
78e2f556-9829-42fe-963d-e19dfc43c0e9 Mar  3 2020
StackToRegisterMappingCogit VMMaker.oscog-eem.2719 uuid: 
e40f3e94-3a54-411b-9613-5d19114ea131 Mar  3 2020


More information about the Squeak-dev mailing list