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

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

Re: gawk infinity issues


From: John Cowan
Subject: Re: gawk infinity issues
Date: Fri, 6 Jan 2006 21:20:41 -0500
User-agent: Mutt/1.3.28i

Paul Eggert scripsit:
> "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.

In that case, a --traditional switch or TRADITIONAL environment variable
could be used to preserve the old behavior.  In 1979, inf and nan were
not part of the floating-point landscape.

Furthermore, I don't think it's very good awk style to depend on the
numeric value of a digit-free string.

-- 
Híggledy-pìggledy / XML programmers            John Cowan
Try to escape those / I-eighteen-N woes;        http://www.ccil.org/~cowan
Incontrovertibly / What we need more of is      http://www.reutershealth.com
Unicode weenies and / François Yergeaus.        address@hidden




reply via email to

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