[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gawk infinity issues
From: |
Paul Eggert |
Subject: |
Re: gawk infinity issues |
Date: |
Fri, 06 Jan 2006 18:15:01 -0800 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
"Andrew J. Schorr" <address@hidden> writes:
> How do you establish what is "historical practice"?
It depends on the context, but here I am referring to the way awk
behaved before people started futzing with strtod. 1979, say.
> You make it sound as if gawk has
> historically and consistently converted these strings to a numeric value of 0,
Yes, it did that originally.
I agree with all your other points. I would prefer that Gawk treat
numbers the way that C strtod and printf does. (Not only inf and nan,
but also nan(...), and (hold on to your hat) hexadecimal numbers.) I
don't think Gawk should be second-guessing C.
But this is a controversial matter, and not everyone agrees, which is
why I mentioned historical practice.
- Re: gawk infinity issues, (continued)
- Re: gawk infinity issues, Paul Eggert, 2006/01/05
- Re: gawk infinity issues, Aharon Robbins, 2006/01/05
- Re: gawk infinity issues, Andrew J. Schorr, 2006/01/06
- Re: gawk infinity issues, Paul Eggert, 2006/01/06
- Re: gawk infinity issues, Andrew J. Schorr, 2006/01/06
- Re: gawk infinity issues,
Paul Eggert <=
- Re: gawk infinity issues, John Cowan, 2006/01/06
- Re: gawk infinity issues, Andrew J. Schorr, 2006/01/07
Re: gawk infinity issues, Aharon Robbins, 2006/01/08