bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gawk: Locale-dependant bug with string to floating point conversion


From: Stepan Kasal
Subject: Re: gawk: Locale-dependant bug with string to floating point conversion
Date: Sat, 1 May 2004 11:12:51 +0200
User-agent: Mutt/1.4.1i

Hello,

On Fri, Apr 30, 2004 at 11:56:10PM -0700, Paul Eggert wrote:
> 2.  That same spec under "Lexical conventions" says that a NUMBER
> shall be equivalent to either a C99 floating-constant or
> integer-constant, except that a floating-constant can't include a
> suffix (f, F, l, L), and some other restrictions about
> integer-constants.

the restrictions say that integer constans can be decimal only.
Allowing non-decimal floating point constants seems very weird in
this context.

My humble comment would be that this is a bug in the standard and
it should be reported, not implemented.

Thank you for pointing out the bug in the specification.

Have a nice day,
        Stepan Kasal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]