#DOCUMENTATION
authorClaus Gittinger <cg@exept.de>
Wed, 28 Oct 2015 03:19:43 +0100
changeset 18856 8ad83639df20
parent 18855 85ed6541937d
child 18857 7165f748d240
#DOCUMENTATION class: Infinity comment/format in: #lessFromSomeNumber:
Infinity.st
--- a/Infinity.st	Wed Oct 28 03:19:25 2015 +0100
+++ b/Infinity.st	Wed Oct 28 03:19:43 2015 +0100
@@ -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
@@ -19,6 +21,8 @@
 "
 "{ Package: 'stx:libbasic' }"
 
+"{ NameSpace: Smalltalk }"
+
 MetaNumber subclass:#Infinity
 	instanceVariableNames:''
 	classVariableNames:'InfNeg InfPos'
@@ -309,7 +313,8 @@
 !
 
 lessFromSomeNumber:aNumber
-    "Sent from aNumber < self, if aNumber does not know how to handle this"
+    "Sent from aNumber < self, if aNumber does not know how to handle this.
+     Return true if aNumber < self."
 
     aNumber isFinite ifTrue:[
         ^ self positive.
@@ -437,11 +442,11 @@
 !Infinity class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Infinity.st,v 1.15 2014-02-14 14:20:03 cg Exp $'
+    ^ '$Header$'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/Infinity.st,v 1.15 2014-02-14 14:20:03 cg Exp $'
+    ^ '$Header$'
 ! !