Float.st
branchjv
changeset 18493 407516d33242
parent 18301 d0a478542bbf
parent 18492 eca396c81443
child 18858 2968df243134
--- a/Float.st	Thu Jun 18 06:57:25 2015 +0200
+++ b/Float.st	Mon Jun 22 06:42:50 2015 +0200
@@ -466,6 +466,7 @@
     ^ Epsilon
 ! !
 
+
 !Float class methodsFor:'binary storage'!
 
 readBinaryIEEEDoubleFrom:aStream
@@ -651,8 +652,17 @@
     ^ -1022
 !
 
+ln10
+    "return the natural logarithm of 10;
+     will return something like 2.30258509299405"
+
+    ^ Ln10
+!
+
 ln2
-    "/ dont expect this many valid digits on all machines;
+    "return the natural logarithm of 2"
+
+    "/ don't expect this many valid digits on all machines;
     "/ The actual precision is very CPU specific.
 
     ^ 0.69314718055994530941723212145817657.
@@ -734,6 +744,7 @@
     "
 ! !
 
+
 !Float class methodsFor:'queries'!
 
 exponentCharacter
@@ -794,6 +805,7 @@
     ^ 2 "must be careful here, whenever ST/X is used on VAX or a 370"
 ! !
 
+
 !Float methodsFor:'arithmetic'!
 
 * aNumber
@@ -2302,6 +2314,7 @@
     "
 ! !
 
+
 !Float methodsFor:'testing'!
 
 isFinite
@@ -3279,11 +3292,11 @@
 !Float class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Float.st,v 1.217 2015-04-27 17:28:58 cg Exp $'
+    ^ '$Header$'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/Float.st,v 1.217 2015-04-27 17:28:58 cg Exp $'
+    ^ '$Header$'
 ! !