ShortFloat.st
changeset 24953 13bc1e8b12ab
parent 24951 7b0113513590
child 24964 0236232a98e1
--- a/ShortFloat.st	Fri Nov 22 04:34:27 2019 +0100
+++ b/ShortFloat.st	Fri Nov 22 04:34:38 2019 +0100
@@ -337,6 +337,11 @@
 !ShortFloat class methodsFor:'accessing'!
 
 defaultPrintFormat
+    "/ by default, I will print 7 digits
+    "/  ShortFloat pi   -> 3.141593  
+    "/  Float pi        -> 3.14159265358979  
+    "/  LongFloat pi    -> 3.141592653589793239  
+
     ^ DefaultPrintFormat
 !
 
@@ -344,7 +349,6 @@
     DefaultPrintFormat := aString.
 ! !
 
-
 !ShortFloat class methodsFor:'binary storage'!
 
 readBinaryIEEESingleFrom:aStream
@@ -609,7 +613,6 @@
     "Modified: 23.4.1996 / 09:26:45 / cg"
 ! !
 
-
 !ShortFloat class methodsFor:'queries'!
 
 defaultPrintPrecision