#DOCUMENTATION by cg
class: Infinity::NegativeInfinity
comment/format in: #positive
class: Infinity::PositiveInfinity
comment/format in: #positive
--- a/Infinity.st Tue May 28 05:53:25 2019 +0200
+++ b/Infinity.st Tue May 28 05:56:40 2019 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
"
This is a Manchester Goodie. It is distributed freely on condition
that you observe these conditions in respect of the whole Goodie, and on
@@ -395,9 +397,12 @@
!
positive
+ "return true, if the receiver is greater or equal to zero (not negative)"
+
^ false
"Created: / 21-06-2017 / 14:02:18 / cg"
+ "Modified (comment): / 28-05-2019 / 05:55:45 / Claus Gittinger"
! !
!Infinity::NegativeInfinity methodsFor:'comparing'!
@@ -433,9 +438,12 @@
!
positive
+ "return true, if the receiver is greater or equal to zero (not negative)"
+
^ true
"Created: / 21-06-2017 / 14:02:28 / cg"
+ "Modified (comment): / 28-05-2019 / 05:55:48 / Claus Gittinger"
! !
!Infinity::PositiveInfinity methodsFor:'comparing'!