The Inbox: Kernel-nice.1294.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.1294.mcz

commits-2
Nicolas Cellier uploaded a new version of Kernel to project The Inbox:
http://source.squeak.org/inbox/Kernel-nice.1294.mcz

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

Name: Kernel-nice.1294
Author: nice
Time: 6 February 2020, 10:00:19.603883 pm
UUID: c78e67da-95e5-42ad-af82-089c149f165d
Ancestors: Kernel-tonyg.1293

Complex log function was missing (base 10 logarithm)

Complex already provides ln and log:, so why not log?

=============== Diff against Kernel-tonyg.1293 ===============

Item was added:
+ ----- Method: Complex>>log (in category 'mathematical functions') -----
+ log
+ "Answer the base 10 logarithm of the receiver."
+
+ ^self ln / 10 ln!