Front page | perl.perl6.language |
Postings from October 2001
Re: NaN semantics
Thread Previous
|
Thread Next
From:
Damian Conway
Date:
October 7, 2001 15:50
Subject:
Re: NaN semantics
Message ID:
200110072250.IAA54596@indy05.csse.monash.edu.au
Tim wrote:
> > Err. Are you *sure*? That's an C<until>, not a C<while>, you realize?
>
> Yes. I had to use all my fingers and toes to keep everything straight,
> but I think I did. :-) In the semantics you show (different from IEEE
> semantics) "NaN==NaN" is true, so "NaN!=NaN" is false, which is why the
> loop continues until a valid number is entered.
Uh huh. As I pointed out, I had missed your assumption of IEEE semantics.
Damian
Thread Previous
|
Thread Next