[Pkg] The Trunk: Kernel-ul.875.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Sep 26 14:52:38 UTC 2014


Levente Uzonyi uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ul.875.mcz

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

Name: Kernel-ul.875
Author: ul
Time: 22 September 2014, 7:47:53.688 pm
UUID: cab8700d-92c1-4795-9c28-8edc6671cc46
Ancestors: Kernel-ul.874

- improved Date >> #printFormat:
- added #isZero to LargeIntegers

=============== Diff against Kernel-ul.874 ===============

Item was changed:
  ----- Method: Date>>printFormat: (in category 'printing') -----
  printFormat: formatArray 
  	"Answer a String describing the receiver using the argument formatArray."
  
+ 	^String new: 17 streamContents: [ :stream |
+ 		self printOn: stream format: formatArray ]!
- 	| aStream |
- 	aStream := WriteStream on: (String new: 16).
- 	self printOn: aStream format: formatArray.
- 	^ aStream contents
- !

Item was added:
+ ----- Method: LargeNegativeInteger>>isZero (in category 'testing') -----
+ isZero
+ 	"Optimization. Answer false since receiver is less than 0."
+ 
+ 	^false
+ !

Item was added:
+ ----- Method: LargePositiveInteger>>isZero (in category 'testing') -----
+ isZero
+ 	"Optimization. Answer false since receiver is greater than 0."
+ 
+ 	^false
+ !



More information about the Packages mailing list