Infinity.st
changeset 24708 a378ebfefa61
parent 24200 1cdc3384a057
child 24955 383d5baf43e1
--- a/Infinity.st	Sat Aug 31 16:15:32 2019 +0200
+++ b/Infinity.st	Sat Aug 31 16:15:42 2019 +0200
@@ -1,5 +1,3 @@
-"{ 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
@@ -379,10 +377,14 @@
 !Infinity methodsFor:'testing'!
 
 isFinite
+    "return true, if the receiver is a finite float (not NaN and not +/-INF)"
+
     ^false
 !
 
 isInfinite
+    "return true, if the receiver is an infinite number (+Inf or -Inf)"
+
     ^true
 ! !