Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!caip!nike!ucbcad!ucbvax!decvax!mcnc!duke!adiron!jdptxt From: jdptxt@adiron.UUCP (The Mad Hacker) Newsgroups: net.lang.c Subject: Re: C Compiler bug Message-ID: <351@adiron.UUCP> Date: Thu, 24-Jul-86 16:31:25 EDT Article-I.D.: adiron.351 Posted: Thu Jul 24 16:31:25 1986 Date-Received: Fri, 25-Jul-86 21:30:59 EDT References: <501@bunny.UUCP> <6224@allegra.UUCP> Organization: PAR Technology, New Hartford, NY Lines: 11 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