ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/02/15/22:29:57

From: kroe AT sbcs DOT sunysb DOT edu (KiYun Roe)
Date: Sat, 15 Feb 92 21:34:47 EST
To: pstephan AT mcs DOT kent DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Status: O

I am not convinced that this is a bug.  Two points:

(1) You really need to display more of the value of y to verify that
    indeed y >= 2.  It is possible that y = 1.99999999...  You might
    try displaying (int) (y + .000001) to see if y is close to 2.

(2) I compiled and ran your program with gcc and gcc -O on my 486
    machine.  I got the same output from both (i.e. i == 2).  I'm not
    sure what that means.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019