yeah :(
On 03 Feb 2015, at 17:02, Chris Cunningham <cunningham.cb@gmail.com> wrote:
Ah, there is also NaN (not a number).
So, float can be: NegativeInfinity a Finite Float Infinity (;positive by elimination) NaN
Oh, and NegativeZero as well.
floats are weird.
-cbc
On Tue, Feb 3, 2015 at 7:51 AM, Esteban Lorenzano <estebanlm@gmail.com <mailto:estebanlm@gmail.com>> wrote: 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 <cunningham.cb@gmail.com <mailto:cunningham.cb@gmail.com>> 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 <estebanlm@gmail.com <mailto:estebanlm@gmail.com>> wrote: Hi,
that⦠I wonder if
aFloat isFinite = true
and
(aFloat == Float infinite) = false
is a possible combination
Esteban