in fact, I wonder why #isFinite is implemented: 

^(self - self) = 0.0

and not just:

^self isInfinite not

which includes the negativeInfinity… 

Esteban


> On 03 Feb 2015, at 16:46, Chris Cunningham <[email protected]> wrote:
> 
> There is Float infinity and Float negativeInfinity - two infinite classes.
> 
> Can I assume your first test really wanted to be:
> 
> aFloat isFinite = false
> ?
> 
> cbc
> 
> On Tue, Feb 3, 2015 at 7:38 AM, Esteban Lorenzano <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi,
> 
> that… I wonder if
> 
> aFloat isFinite = true
> 
> and
> 
> (aFloat == Float infinite) = false
> 
> is a possible combination
> 
> Esteban
> 

Reply via email to