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

Re: NaN semantics

Thread Previous | Thread Next
From:
Damian Conway
Date:
October 9, 2001 22:53
Subject:
Re: NaN semantics
Message ID:
200110100553.PAA06429@indy05.csse.monash.edu.au

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;

;-)

Damian

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