comment
authorClaus Gittinger <cg@exept.de>
Sun, 19 Oct 2008 23:25:16 +0200
changeset 11239 951d0e92ab3d
parent 11238 f321de80643a
child 11240 4ce9c8fa3d37
comment
Fraction.st
--- a/Fraction.st	Sun Oct 19 23:25:02 2008 +0200
+++ b/Fraction.st	Sun Oct 19 23:25:16 2008 +0200
@@ -395,7 +395,8 @@
 !
 
 asFloat
-    "return a float with (approximately) my value"
+    "return a float with (approximately) my value.
+     Since floats have a limited precision, you usually loose bits when doing this."
 
     |num den numShift denShift bits rslt|
 
@@ -908,6 +909,7 @@
     "Modified: 28.7.1997 / 19:08:40 / cg"
 ! !
 
+
 !Fraction methodsFor:'printing & storing'!
 
 printOn:aStream
@@ -1103,7 +1105,7 @@
 !Fraction class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Fraction.st,v 1.73 2007-04-02 10:16:50 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Fraction.st,v 1.74 2008-10-19 21:25:16 cg Exp $'
 ! !
 
 Fraction initialize!