From: campbejr@phu989.mms.sbphrd.com (John R. Campbell)
Subject: Re: Digital UNIX C 'long double' support questions
Date: 1996/09/17 [thread overview]
Message-ID: <slrn453t7v0.fqa.campbejr@phu989.mms.sbphrd.com> (raw)
In-Reply-To: 32395691.ABD@zk3.dec.com
On Fri, 13 Sep 1996 08:41:53 -0400, Al Simons <simons@zk3.dec.com> wrote:
>Digital has been asked to fully support a 128-bit long-double datatype
>in C and C++ on Digital UNIX, as it does currently with the REAL*16
>type in FORTRAN.
>
>The current C and C++ compilers for Digital UNIX implement the ANSI C
>type "long double" as a synonym for type "double", i.e., a 64-bit
>type. Because of this, we face some decisions around binary
>compatibility, and are looking for input.
Have you considered using the currently (bizarre) mechanism like
"long long" for a 64 bit integer, so you'd have a "double double"
(how's that for a suggestion).
I _had_ suggested (over a year ago) in comp.lang.c that we use more
interesting adjectives for these excessive sizes. I _had_ suggested
very long - 64 bit
really long - 128 bit
extremely long - 256 bit
incredibly long - 512 bit
and: ludicrously long - 1024 bit
This makes extending the "double" more interesting, to wit:
double - 64 bit
long double - 64 bit
really long double - 128 bit
extremely long double - 256 bit
incredibly long double - 512 bit
and: ludicrously long double - 1024 bit
_That_ scheme would last a while, wouldn't it?
(Maybe I should've cross-posted this to rec.humor.funny...)
Seriously, I'm not sure I can understand the requirement for so much
precision since we're really most interested in enhancing the "range"
(magnitude) ove the actual precision.
If I recall aright back in my GeoPhysical processing days, IBM's 32bit
floating point number just barely fell short of being useful for
seismic trace analysis while the 36bit FP of the 1100 was adequate
and the 60bit FP of the Cray-1 was way too much. (especially when
doing 3D FFTs).
_I'd_ be curious to know what kind of application requires this extreme
level of precision...
...but that's my curious streak.
--
John R. Campbell, Speaker to Machines, Resident Heckler soup@jtan.com
"As a SysAdmin, yes, I CAN read your e-mail, but I DON'T get that bored!"-me
Disclaimer: I'm just a consultant at the bottom of the food chain, so,
if you're thinking I speak for anyone but myself, you must
have more lawyers than sense.
next prev parent reply other threads:[~1996-09-17 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-09-13 4:00 Digital UNIX C 'long double' support questions Al Simons
1996-09-17 4:00 ` John R. Campbell [this message]
-- strict thread matches above, loose matches on Subject: below --
1996-09-17 4:00 berc
1996-09-18 4:00 ` Ron Natalie
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox