[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gawk printf format problem with negative numbers
From: |
Paul Eggert |
Subject: |
Re: gawk printf format problem with negative numbers |
Date: |
28 Oct 2003 12:57:10 -0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
"Shaffer, Kenneth" <address@hidden> writes:
> The crux of the problem is the compare "if (tmpval < INTMAX_MIN)"... it thinks
> -1234 is less than the maximum negative number
What is the value of INTMAX_MIN on your host? Can you reproduce the problem
with a small C program? Something like this:
#include <stdio.h>
#include <inttypes.h>
double tmpval = -1234;
int main (void)
{
if (tmpval < INTMAX_MIN)
printf ("This compiler is buggy\n");
}
- gawk printf format problem with negative numbers, Shaffer, Kenneth, 2003/10/28
- Re: gawk printf format problem with negative numbers, Aharon Robbins, 2003/10/28
- RE: gawk printf format problem with negative numbers, Shaffer, Kenneth, 2003/10/28
- RE: gawk printf format problem with negative numbers, Shaffer, Kenneth, 2003/10/28
- Re: gawk printf format problem with negative numbers,
Paul Eggert <=
- RE: gawk printf format problem with negative numbers, Shaffer, Kenneth, 2003/10/28
- RE: gawk printf format problem with negative numbers, Shaffer, Kenneth, 2003/10/28
- RE: gawk printf format problem with negative numbers, Shaffer, Kenneth, 2003/10/29