[squeak-dev] The Inbox: Kernel-nice.1294.mcz
commits at source.squeak.org
commits at source.squeak.org
Thu Feb 6 21:00:30 UTC 2020
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!
More information about the Squeak-dev
mailing list
|