C compiler bug

Roger Rose rlr at stcvax.UUCP
Wed Jul 23 05:33:53 AEST 1986


I tried the program for V7 and 4.1 BSD compilers.  On both compilers
   {int i; i=8; i = i/2.5;} gives i=3.
   {int i; i=8; i/=2.5;} gives i=4.
-- 

Roger Rose
   UUCP:    {hao ihnp4 decvax}!stcvax!rlr
   USnail:  Storage Technology Corp. - MD 3T / Louisville, Co.  80028
   phone:   (303) 673-6873



More information about the Comp.lang.c mailing list