[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] Handling hexadecimals in different modes
From: |
Aharon Robbins |
Subject: |
Re: [bug-gawk] Handling hexadecimals in different modes |
Date: |
Wed, 16 Sep 2015 05:07:06 +0300 |
User-agent: |
Heirloom mailx 12.5 6/20/10 |
> Date: Mon, 14 Sep 2015 12:15:14 +0300
> From: Jarno Suni <address@hidden>
> To: address@hidden
> Cc: address@hidden
> Subject: Re: [bug-gawk] Handling hexadecimals in different modes
>
> On Tue, 08 Sep 2015 07:34:12 -0600
> address@hidden wrote:
>
> > Jarno Suni <address@hidden> wrote:
>
> > > Then it would work the same way as other awk implementations I have
> > > tested (i.e. mawk and original-awk in Ubuntu Linux).
> >
> > This is accidental, since those versions just call strtod and GLIBC
> > strtod handles hex values. This is discussed somewhat in the gawk
> > doc. The upshot is that you cannot rely on that behavior on non-GLIBC
> > systems.
>
> Where in the doc?
http://www.gnu.org/software/gawk/manual/html_node/POSIX-Floating-Point-Problems.html#POSIX-Floating-Point-Problems
This doesn't mention GLIBC explicitly, but it boils down to the same
thing, since POSIX specifies atof or strtod, and the C99 version
does hex.
Arnold
- Re: [bug-gawk] Handling hexadecimals in different modes, (continued)
- Re: [bug-gawk] Handling hexadecimals in different modes, Jarno Suni, 2015/09/06
- Re: [bug-gawk] Handling hexadecimals in different modes, Jarno Suni, 2015/09/07
- Re: [bug-gawk] Handling hexadecimals in different modes, arnold, 2015/09/08
- Re: [bug-gawk] Handling hexadecimals in different modes, Jarno Suni, 2015/09/09
- Re: [bug-gawk] mystrtonum for any awk (Was: Handling hexadecimals in different modes), Jarno Suni, 2015/09/22
- Re: [bug-gawk] mystrtonum for any awk (Was: Handling hexadecimals in different modes), Jarno Suni, 2015/09/22
- Message not available
- Re: [bug-gawk] mystrtonum for any awk (Was: Handling hexadecimals in different modes), Jarno Suni, 2015/09/25
- Message not available
- Re: [bug-gawk] mystrtonum for any awk (Was: Handling hexadecimals in different modes), Jarno Suni, 2015/09/27
- Re: [bug-gawk] mystrtonum for any awk (Was: Handling hexadecimals in different modes), Jarno Suni, 2015/09/30
- Re: [bug-gawk] Handling hexadecimals in different modes, Jarno Suni, 2015/09/14
- Re: [bug-gawk] Handling hexadecimals in different modes,
Aharon Robbins <=