[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: |
Wed, 28 Dec 2005 14:30:07 -0500 |
User-agent: |
Mutt/1.4.1i |
On Wed, Dec 28, 2005 at 09:09:21PM +0200, Eli Zaretskii wrote:
> Try
>
> if (x != x)
> {
> /* this is not a finite number */
> }
>
> (You need to make sure the compiler doesn't optimize away this
> condition.)
In my testing, that works fine for NaN, but it does not catch Inf.
Regards,
Andy
- Re: gawk number to string bug, (continued)
Re: gawk number to string bug, Aharon Robbins, 2005/12/24
- Re: gawk number to string bug, Andrew J. Schorr, 2005/12/26
- Re: gawk number to string bug, Paul Eggert, 2005/12/26
- Re: gawk number to string bug, Andrew J. Schorr, 2005/12/26
- Re: gawk number to string bug, Andrew J. Schorr, 2005/12/27
- Re: gawk number to string bug, Andrew J. Schorr, 2005/12/28
- Re: gawk number to string bug, Andrew J. Schorr, 2005/12/28
- Re: gawk number to string bug, Eli Zaretskii, 2005/12/28
- Re: gawk number to string bug,
Andrew J. Schorr <=
- Re: gawk number to string bug, Andrew J. Schorr, 2005/12/28