NaN ~= NaN?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

NaN ~= NaN?

Craig Latta

Hi--

     In latest Squeak, (Float NaN) is not equivalent to itself. Is this
a bug?


     thanks,

-C

--
Craig Latta
Black Page Digital
Amsterdam | San Francisco
[hidden email]
+31   6 2757 7177 (SMS ok)
+ 1 415  287 3547 (no SMS)


Reply | Threaded
Open this post in threaded view
|

Re: NaN ~= NaN?

Jakob Reschke-2
Hi,

I would guess not:

http://stackoverflow.com/questions/1565164/what-is-the-rationale-for-all-comparisons-returning-false-for-ieee754-nan-values

Best regards,
Jakob

2016-10-01 15:07 GMT+02:00 Craig Latta <[hidden email]>:

>
> Hi--
>
>      In latest Squeak, (Float NaN) is not equivalent to itself. Is this
> a bug?
>
>
>      thanks,
>
> -C
>
> --
> Craig Latta
> Black Page Digital
> Amsterdam | San Francisco
> [hidden email]
> +31 6 2757 7177 (SMS ok)
> + 1 415 287 3547 (no SMS)
>
>