C Compiler bug

The Mad Hacker jdptxt at adiron.UUCP
Fri Jul 25 06:31:25 AEST 1986


The bug that is being discussed to death was in 4.1BSD as well.
Somebody else ran into this problem a few months after I started
programming professionally, and I gave him the solution to try
i = i * 0.5 instead of i *= 0.5.  I was told to never trust
mixed-mode Fortran arithmetic and the Pascal that I worked with
in college did not support float to integer conversions so I have
stayed away from these 'op=' in mixed-mode.  I always use them when
possible otherwise.


duke!adiron!jdp



More information about the Comp.lang.c mailing list