[Cuis-dev] What/Where is Infinity and NegativeInfinity?

Nafiz Islam nafiz.islam1000 at gmail.com
Sun Jun 23 08:33:30 PDT 2024


What/Where is Infinity and NegativeInfinity?

I see Infinity and NegativeInfinity being referenced in BoxedFloat64.

'From Cuis7.1 [latest update: #6472] on 23 June 2024 at 11:31:09 am'!

!BoxedFloat64 methodsFor: 'testing' stamp: 'jmv 8/1/2019 16:42:00'!
isInfinite
     "Return true if the receiver is positive or negative infinity."

     ^ self = Infinity or: [self = NegativeInfinity]! !

But when I try to "Do it" in the Workspace, it returns unknown variable.



More information about the Cuis-dev mailing list