LimitedPrecisionReal.st
branchjv
changeset 20080 093324d7a47c
parent 19406 faccbadf3034
parent 20058 049707a0931d
child 21026 81e280fc1b93
--- a/LimitedPrecisionReal.st	Thu Jun 30 21:12:35 2016 +0100
+++ b/LimitedPrecisionReal.st	Fri Jul 01 15:31:10 2016 +0100
@@ -512,6 +512,17 @@
     ^ true
 !
 
+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
+
+
+!
+
 isAbstract
     "Return if this class is an abstract class.
      True is returned for LimitedPrecisionReal here; false for subclasses."