[torquedev] Re: trunk not compiiing on OS X 10.4
Garrick Staples
garrick at usc.edu
Wed Aug 29 11:05:14 MDT 2007
On Wed, Aug 29, 2007 at 05:53:45PM +0200, Matti Bickel alleged:
> Glen Beane <glen.beane at gmail.com> wrote:
> > int main (int argc, char **argv)
> > {
> > double x = 1e500;
> >
> > return 0;
> > }
>
> Here's what the C99 Standard says (5.2.4.2.2):
> The values given in the following list shall be replaced by constant
> expressions with implementation-defined values that are greater than or
> equal to those shown:
> - maximum representable finite floating-point number
> FLT_MAX 1E+37
> DBL_MAX 1E+37
> LDBL_MAX 1E+37
I don't see any mention of HUGE_VAL in that section. The first relavent
section seems to be 7.12.2.1.
>
> You can't *expect* an arch to support 1e500, afaik. Haven't had a look
> at Apple's gcc in a while, here are my values:
We don't care about 1e500, that's apple gcc's value for HUGE_VAL; which we do
expect to be supported.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20070829/bdd80845/attachment.bin
More information about the torquedev
mailing list