Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!brl-adm!brl-smoke!smoke!Bader@b.psy.cmu.edu From: Bader@b.psy.cmu.edu (Miles Bader) Newsgroups: net.lang.c Subject: Re: C compiler test Message-ID: <2479@brl-smoke.ARPA> Date: Tue, 22-Jul-86 18:57:06 EDT Article-I.D.: brl-smok.2479 Posted: Tue Jul 22 18:57:06 1986 Date-Received: Thu, 24-Jul-86 00:21:03 EDT Sender: news@brl-smoke.ARPA Lines: 4 In the first case (i=i/2.5), it's converting the i to double, dividing by 2.5 and converting the answer back to integer. In the second case, it's converting the 2.5 to integer and doing an integer divide. The first method seems like the correct one, although less efficient...