Front page | perl.perl6.language |
Postings from October 2001
Re: NaN semantics
Thread Previous
|
Thread Next
From:
Graham Barr
Date:
October 9, 2001 05:07
Subject:
Re: NaN semantics
Message ID:
20011009130708.X82110@pobox.com
On Tue, Oct 09, 2001 at 04:39:47PM +1000, Damian Conway wrote:
> Sigh. I *do* see your point of view (Laziness), but I still have immense
> difficulty with the notion that:
>
> $x == NaN
>
> doesn't return true if $x contains NaN.
I agree. The difficulty I have is that it is the comparison that IEEE
define to return false. Which means
if ('cat' != 'dog')
would not yeild the same result as
unless('cat' == 'dog')
Which I think would lead to a lot of confusion when debugging.
Graham.
Thread Previous
|
Thread Next