From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <775b8d1905021110121c7b659@mail.gmail.com> Date: Sat, 12 Feb 2005 05:12:53 +1100 From: Bruce Ellis To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] (no subject) In-Reply-To: <41F879E20002544F@stateless1.tiscali.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <41F879E20002544F@stateless1.tiscali.cz> Topicbox-Message-UUID: 4599559a-eace-11e9-9e20-41e7f4b1d025 We've been down this road. Please give me a one page program that exhibits this bug and I'll fix 8c for a cz beer. brucee On Thu, 10 Feb 2005 16:28:56 +0100, tapique@tiscali.cz wrote: > //pcc complains: > result =3D (int)tuplerow1[col][plane1] > (int)tuplerow2[col][plane2] ? = (int)tuplerow1[col][plane1] > - (int)tuplerow2[col][plane2] : (int)tuplerow2[col][plane2] - (int)tupler= ow1[col][plane1]; >=20 > // but this is OK (just an 'if-else' rewrite) > if((int)tuplerow1[col][plane1] > (int)tuplerow2[co= l][plane2] ) > result =3D (int)tuplerow1[col][plane1] - = (int)tuplerow2[col][plane2]; > else > result =3D (int)tuplerow2[col][plane2] - = (int)tuplerow1[col][plane1]; >=20 > regards, > ++pac. >=20 > -------------------------- > Pos=C3=ADlejte SMS p=C5=99es internet zdarma a bez reklamy. Pouze s TISCA= LI. > V=C3=ADce na http://www.tiscali.cz >=20 >