Front page | perl.perl6.language |
Postings from October 2001
Re: NaN semantics
Thread Previous
|
Thread Next
From:
Jonathan Scott Duff
Date:
October 10, 2001 10:01
Subject:
Re: NaN semantics
Message ID:
20011010120141.B17820@cbi.tamucc.edu
On Wed, Oct 10, 2001 at 06:38:05PM +0200, RaFaL Pocztarski wrote:
> 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.
$K = 2**10;
$M = $K * 1000;
$G = $M * 1000;
print "These files are $(20 * $k) each\n";
print "The disk has $(2 * $M) left of $(80 * $G)!\n";
It seems to me that these things should be in a module rather than
as pragmas.
-Scott
--
Jonathan Scott Duff
duff@cbi.tamucc.edu
Thread Previous
|
Thread Next