#REFACTORING by stefan
authorStefan Vogel <sv@exept.de>
Thu, 30 Jun 2016 17:11:17 +0200
changeset 20059 9708f964fe76
parent 20058 049707a0931d
child 20060 c41b1620a04a
#REFACTORING by stefan class: Float removed: #hasSharedInstances - moved to superclass
Float.st
--- a/Float.st	Thu Jun 30 17:10:53 2016 +0200
+++ b/Float.st	Thu Jun 30 17:11:17 2016 +0200
@@ -496,6 +496,7 @@
     ^ Epsilon
 ! !
 
+
 !Float class methodsFor:'binary storage'!
 
 readBinaryIEEEDoubleFrom:aStream
@@ -777,23 +778,13 @@
     "
 ! !
 
+
 !Float class methodsFor:'queries'!
 
 exponentCharacter
     ^ $d
 !
 
-hasSharedInstances
-    "return true if this class has shared instances, that is, instances
-     with the same value are identical.
-     Although not really shared, floats should be treated
-     so, to be independent of the implementation of the arithmetic methods."
-
-    ^ true
-
-
-!
-
 isBuiltInClass
     "return true if this class is known by the run-time-system.
      Here, true is returned for myself, false for subclasses."
@@ -842,6 +833,7 @@
     ^ 2 "must be careful here, whenever ST/X is used on VAX or a 370"
 ! !
 
+
 !Float methodsFor:'arithmetic'!
 
 * aNumber
@@ -2355,6 +2347,7 @@
     "
 ! !
 
+
 !Float methodsFor:'testing'!
 
 isFinite