[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gawk number to string bug
From: |
Andrew J. Schorr |
Subject: |
Re: gawk number to string bug |
Date: |
Tue, 20 Dec 2005 09:49:07 -0500 |
User-agent: |
Mutt/1.4.1i |
Anyway, the attached patch seems to fix the problem on 32-bit x86
and 64-bit x86 platforms. I know the patch is flawed for the
same reasons my other patch is flawed. But here it is nonetheless, perhaps
it is useful as a starting point.
With this patch, I now see:
$ ./gawk --lint 'BEGIN { x=2^64; printf "2^%d= %s %d %g\n",64,x,x,x}'
gawk: warning: [s]printf: value 1.84467e+19 is out of range for `%d' format
2^64= 1.84467e+19 1.84467e+19 1.84467e+19
Regards,
Andy
builtin.patch
Description: Text document
- Re: gawk number to string bug, (continued)
- Re: gawk number to string bug, Paul Eggert, 2005/12/19
- Re: gawk number to string bug, Eli Zaretskii, 2005/12/19
- Re: gawk number to string bug, Andrew J. Schorr, 2005/12/19
- Re: gawk number to string bug, Eli Zaretskii, 2005/12/19
- Re: gawk number to string bug, Paul Eggert, 2005/12/19
- Re: gawk number to string bug, John Cowan, 2005/12/19
Re: gawk number to string bug, David Ellsworth, 2005/12/19
- Re: gawk number to string bug, Paul Eggert, 2005/12/20
- Re: gawk number to string bug, Paul Eggert, 2005/12/21
- Re: gawk number to string bug, Andrew J. Schorr, 2005/12/21
- Re: gawk number to string bug, Andrew J. Schorr, 2005/12/21
- Re: gawk number to string bug, Andrew J. Schorr, 2005/12/21
- Re: gawk number to string bug, Paul Eggert, 2005/12/21
- Re: gawk number to string bug, Andrew J. Schorr, 2005/12/22
- Re: gawk number to string bug, Andrew J. Schorr, 2005/12/23
- Re: gawk number to string bug, Andrew J. Schorr, 2005/12/23
- Re: gawk number to string bug, Andrew J. Schorr, 2005/12/23
- Re: gawk number to string bug, Andrew J. Schorr, 2005/12/23