[squeak-dev] The Trunk: Kernel-eem.886.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Nov 20 16:43:36 UTC 2014


Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.886.mcz

==================== Summary ====================

Name: Kernel-eem.886
Author: eem
Time: 20 November 2014, 8:42:54.337 am
UUID: e1e9c50f-8019-434c-87d9-bc08293afad6
Ancestors: Kernel-eem.885

Fix idiocy in new SmallInteger comment.

=============== Diff against Kernel-eem.885 ===============

Item was changed:
  Integer subclass: #SmallInteger
  	instanceVariableNames: ''
  	classVariableNames: ''
  	poolDictionaries: ''
  	category: 'Kernel-Numbers'!
  SmallInteger class
  	instanceVariableNames: 'minVal maxVal'!
  
+ !SmallInteger commentStamp: 'eem 11/20/2014 08:41' prior: 0!
+ My instances are at least 31-bit numbers, stored in twos complement form. The allowable range in 32-bits is approximately +- 10^9 (+- 1billion).  In 64-bits my instances are 61-bit numbers, stored in twos complement form. The allowable range is approximately +- 10^18 (+- 1 quintillion).   The actual values are computed at start-up.  See SmallInteger class startUp:, minVal, maxVal.!
- !SmallInteger commentStamp: 'eem 11/19/2014 12:01' prior: 0!
- My instances are at least 31-bit numbers, stored in twos complement form. The allowable range in 32-bits is approximately +- 1 10^9 (+- 1billion).  In 64-bits my instances are 61-bit numbers, stored in twos complement form. The allowable range is approximately +- 1^18 (+- 1 quintillion).   The actual values are computed at start-up.  See SmallInteger minVal, maxVal.!
  SmallInteger class
  	instanceVariableNames: 'minVal maxVal'!



More information about the Squeak-dev mailing list