i = i * f vs. i *= f

allan at qtlon.UUCP allan at qtlon.UUCP
Tue Apr 24 17:29:28 AEST 1984


<no, no, no. Please don't eat me>
This is the same on 4.2bsd also. I Thought I would try it on our C compiler
on our Prime and the results were
19
19
So it is sort of better, with floats the result was 19.999996 so it was
almost 20.
-- 
UUCP:               {decvax,cbosgd,vax135}!qusavx!qtlon!allan
                    ukc!qtlon!allan
Phone:              +44 1 637 7061



More information about the Comp.lang.c mailing list