Comparison failure in C compiler
Arthur David Olson
ado at elsie.UUCP
Sat Dec 1 03:19:00 AEST 1984
noao!rwolff--
> The following program (sadly) prints the message...
> int n, i;
> float x[2];
>
> x[0] = 1.;
> n = 10000;
> i = 0;
> if(x[i] > n)
> printf("finds %g is > %d\n",x[i],n);
brl-tgr!gwyn--
> Why not use the current release of PCC instead? That is what I do;
> I quickly got tired of bugs like this in the one shipped with 4BSD.
While some folks have the money and clout to keep constantly up-to-date,
others do have legitimate economic and legal reasons for using older tools.
--
UNIX is an AT&T Bell Laboratories trademark.
--
..decvax!seismo!elsie!ado (301) 496-5688
DEC, VAX and Elsie are Digital Equipment and Borden trademarks
More information about the Comp.lang.c
mailing list