Re: Motion P1788/M0051:IntervalLiteralsText -- discussion period begins
I wrote:
> In 12.11.2 (b), hexadecimal form, it states that the exponent field is
> optional. I don't know about C99, but in 754-2008 it is *required*.
>
> Well, atof() does accept hex literals without an exponent, so perhaps
> it is ok -- but be careful when mentioning 754-2008 here.
Literal hexadecimal floating-point constants in C do require an exponent:
mh4y.c:13:42: error: hexadecimal floating constants require an exponent
(gcc under Linux)
Michel.
---Sent: 2013-10-23 01:04:47 UTC