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

Re: NaN semantics

Thread Previous | Thread Next
Damian Conway
October 9, 2001 22:53
Re: NaN semantics
Message ID:

Tim suggested:

   > How about punting by using nan (all lowercase)
   > as a boolean logic not-a-number, leaving NaN
   > for someone to (later) create an IEEE style
   > tristate not-a-number.

Err, I think not. Having C<NaN> and C<nan> that differ so markedly in
behaviour is probably a Recipe For Disaster. Better to have a totally
different name if we must cowtow to the IEEE.

Besides, I know you just want this so you can:

	write nan and pop;



Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About