#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Wed, 21 Jun 2017 14:13:50 +0200
changeset 21890 e54f94729d56
parent 21889 2c8d6fe166f9
child 21891 e697cc4bbc7c
#DOCUMENTATION by cg class: Infinity class comment/format in: #documentation class: Infinity::NegativeInfinity added: #positive class: Infinity::PositiveInfinity added: #positive
Infinity.st
--- a/Infinity.st	Wed Jun 21 14:13:43 2017 +0200
+++ b/Infinity.st	Wed Jun 21 14:13:50 2017 +0200
@@ -81,8 +81,6 @@
            Changed retry:coercing: to match ST/X's way of doing this
 
     Instance Variables :-
-        positive <Boolean>      :       if true the instance represents positive
-                                        infinity. if false, negative infinity
 "
 !
 
@@ -394,6 +392,12 @@
 
 negative
     ^ true
+!
+
+positive
+    ^ false
+
+    "Created: / 21-06-2017 / 14:02:18 / cg"
 ! !
 
 !Infinity::NegativeInfinity methodsFor:'comparing'!
@@ -426,6 +430,12 @@
 
 negative
     ^ false
+!
+
+positive
+    ^ true
+
+    "Created: / 21-06-2017 / 14:02:28 / cg"
 ! !
 
 !Infinity::PositiveInfinity methodsFor:'comparing'!