[squeak-dev] The Inbox: Kernel-nice.720.mcz

commits at source.squeak.org commits at source.squeak.org
Wed May 22 21:33:16 UTC 2013


A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/Kernel-nice.720.mcz

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

Name: Kernel-nice.720
Author: nice
Time: 11 December 2012, 10:51:40.587 pm
UUID: 0095160b-f0c9-48d2-8ed2-c19c408430a2
Ancestors: Kernel-nice.719

ScaledDecimal>>#log and #ln should be immune to intermediate Float overflow/underflow

=============== Diff against Kernel-nice.719 ===============

Item was added:
+ ----- Method: ScaledDecimal>>ln (in category 'mathematical functions') -----
+ ln
+ 	"Unlike super, avoid FLoat overflow/underflow"
+ 	
+ 	^self asFraction ln!

Item was added:
+ ----- Method: ScaledDecimal>>log (in category 'mathematical functions') -----
+ log
+ 	"Unlike super, avoid FLoat overflow/underflow"
+ 	
+ 	^self asFraction log!



More information about the Squeak-dev mailing list