[squeak-dev] The Trunk: Kernel-nice.257.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] The Trunk: Kernel-nice.257.mcz

commits-2
Nicolas Cellier uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-nice.257.mcz

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

Name: Kernel-nice.257
Author: nice
Time: 4 October 2009, 10:29:43 am
UUID: 8c32510e-ff6a-4c4c-a134-d2885ca2f4d4
Ancestors: Kernel-nice.256

Fix red tests related to ScaledDecimal raisedToInteger:

=============== Diff against Kernel-nice.256 ===============

Item was added:
+ ----- Method: ScaledDecimal>>raisedToInteger: (in category 'mathematical functions') -----
+ raisedToInteger: aNumber
+ ^self class newFromNumber: (fraction raisedToInteger: aNumber) scale: scale!

Item was removed:
- ----- Method: ScaledDecimal class>>one (in category 'constants') -----
- one
- "Answer the receiver's representation of one."
- ^ self newFromNumber: 1 scale: 0!