develooper Front page | perl.perl6.language | Postings from October 2001

Re: NaN semantics

Thread Previous | Thread Next
From:
merlyn
Date:
October 9, 2001 07:17
Subject:
Re: NaN semantics
Message ID:
m17ku4ew38.fsf@halfdome.holdit.com
>>>>> "Damian" == Damian Conway <damian@mail.csse.monash.edu.au> writes:

Damian> Sigh. I *do* see your point of view (Laziness), but I still have immense
Damian> difficulty with the notion that:

Damian>         $x == NaN

Damian> doesn't return true if $x contains NaN.

Just think of it as a quantum number that hasn't collapsed. :)

"No two NaNs are alike!"

Read it as "one of many non-numbers, chosen at random".

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About