Front page | perl.perl6.language |
Postings from October 2001
Re: NaN semantics
Thread Previous
|
Thread Next
From:
Sam Vilain
Date:
October 10, 2001 08:42
Subject:
Re: NaN semantics
Message ID:
E15rLV4-0001SP-00@hoffman.vilain.net
On Wed, 10 Oct 2001 11:32:02 -0400
Dan Sugalski <dan@sidhe.org> wrote:
> >Great idea, as well as sqrt(-1) returning 1i istead of raising the
> >exception.
> If we do them, yep. Currently no promises there.
If you do that, make sure it has to be enabled with a pragma. Having
complex numbers showing up in the middle of bad code is a scary concept :)
> I think the meaning of the suffices are sufficiently vague as to make me
> uncomfortable supporting them. Is 1K 1024 or 1000? I can make a good
> case for both, and that's never a good sign.
If people want base 10, let them use "e" syntax.
1e3 = 1000
1k = 1024
Sam.
Thread Previous
|
Thread Next