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: Aharon Robbins
Subject: Re: gawk: Locale-dependant bug with string to floating point conversion
Date: Fri, 30 Apr 2004 10:30:21 +0300

> Aharon Robbins <address@hidden> writes:
>
> > The correct fix will be to de-hardcode the '.' in the replacement strtod().
>
> That's part of the fix, but won't it be a little trickier than that?
> For example, the current POSIX spec requires awk to support
> hexadecimal floating-point constants like "0xep0", regardless of
> whether these constants are in the program or in the input data.

Would you care to cite chapter and verse to prove this assertion, please?
I've skimmed the current posix awk stuff several times, and I never saw
this.

Thanks,

Arnold




reply via email to

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