The Inbox: Kernel-nice.720.mcz

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

The Inbox: Kernel-nice.720.mcz

commits-2
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!