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

Re: NaN semantics

Thread Previous | Thread Next
RaFaL Pocztarski
October 10, 2001 08:46
Re: NaN semantics
Message ID:
Dan Sugalski wrote:

> At 05:12 PM 10/10/2001 +0200, RaFaL Pocztarski wrote:
> >BTW, I was thinking once that numeral literals like 4k or 10G
> >(meaning 4*2**10, 10*2**30) would be very nice. What do you think?
> 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.

I was thinking about powers of 1024, as powers of 1000 are of course
easy to write in decimal system (4e9, 4_000_000_000, but 4_294_967_296
and 4*2**30).

- RaFaL Pocztarski,

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