[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A thought on portability...
From: |
Manor Askenazi |
Subject: |
Re: A thought on portability... |
Date: |
Fri, 21 Feb 1997 11:45:24 -0800 |
On Feb 21, 12:16pm, Barry McMullin wrote:
>
> (I've recently been blithely throwing out ideas about
> application portability in the Swarm room, and Roger
> challenged me to actually make some kind of serious
> proposal - i.e. he called my bluff!)
>
// Warning!!! Java Evangelism has been detected in this posting... //
This problem will go away by itself if/when Swarm is ported
to Java since it has, in the interested of said portability,
fixed-sized types (e.g. on a Mac, PC, SGI or Sun, maybe even
on the Alpha, the max value of a double is more or less always:
+1.79769313486231570E+308... (give or take E-100 :)
You can get that value by asking the Double class:
double max = Double.MAX_VALUE ;
M.
PS> No one should ever need to count higher than this. Oh, and, no one
should ever need more than 64K RAM in their PC. Honest.