Article View: gnu.gcc.help
Article #42443Re: How to make "long double" really long double?
From: Stuart Dole
Date: Sun, 10 Dec 1995 00:00
Date: Sun, 10 Dec 1995 00:00
13 lines
1035 bytes
1035 bytes
The standard states that "...float, double, and long double could represent one, two, or three distinct sizes." -- it's implementation-defined. 'long' applied to 'double' is no more than a hint to the compiler -- "portable" code can't depend on it. If your code needs to know, try <limits.h> and <float.h> for help... Bummer. -- .................................................. Stuart R Dole, Hamilton Software at Hewlett-Packard 707-577-5978 srd@dingo.sr.hp.com ..................................................
Technical Details
Message-ID:
<gnusenet4a4h39$637@canyon.sr.hp.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<ted.drain-0512951300490001@mjordan.jpl.nasa.gov>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,5ca1d63d8132166a,start X-Google-Attributes: gid11318c,public From: srd@complex.is (Stuart Dole) Subject: Re: How to make "long double" really long double? Date: 1995/12/10 Message-ID: <gnusenet4a4h39$637@canyon.sr.hp.com> X-Deja-AN: 121483982 distribution: gnu sender: daemon@cis.ohio-state.edu references: <ted.drain-0512951300490001@mjordan.jpl.nasa.gov> organization: Santa Rosa Systems Division newsgroups: gnu.gcc.help