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

Re: NaN semantics

Thread Previous | Thread Next
From:
RaFaL Pocztarski
Date:
October 10, 2001 09:37
Subject:
Re: NaN semantics
Message ID:
3BC4796D.127F6AEB@rfl.pl
Dan Sugalski wrote:

> I'll leave that for Larry to decide. I'm just thinking of all the 60G hard
> drives I see at Best Buy that are really 60e9 bytes, and the 1K ohm
> resistors that are really 1000 ohms. (Well, give or take a bit for ambient
> temperature...)

I prefer powers of 1024 because it help a lot more than powers of 1000.
But if you think that the ambiguity is the only problem then use kbin; /
use kdec; or use k1000; / use k1024; pragmas could solve it. I would
prefer to use k1024 by default (with warning. and maybe with use strict
the default would not be allowed, i.e. user have to choose one to use
it. but I would like the default 1024 to work with one-liners)

- RaFaL Pocztarski, admin@rfl.pl



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