From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,dbbfdf636aaea0f8 X-Google-Attributes: gid103376,public From: reason67@my-deja.com Subject: Re: modular arithmetic bug in gnat? Date: 2000/02/09 Message-ID: <87smrj$1bk$1@nnrp1.deja.com>#1/1 X-Deja-AN: 583804390 References: <38A144A0.141EA33F@chelmsford.com> X-Http-Proxy: NetCache@www-blv-proxy5.boeing.com: Version NetApp Release 3.4D6: Mon Aug 23 16:40:19 PDT 1999-Solaris, 1.0 x42.deja.com:80 (Squid/1.1.22) for client 12.13.226.15 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Feb 09 21:40:03 2000 GMT X-MyDeja-Info: XMYDJUIDreason67 Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.5 [en]C-CCK-MCD Boeing Kit (Win95; I) Date: 2000-02-09T00:00:00+00:00 List-Id: In article <38A144A0.141EA33F@chelmsford.com>, David Shochat wrote: > The same program on Rational Apex (3.2.0b, HP-UX 11.0) gives 1416 which > is what you get if you reduce mod 2**16 immediately after the > multiplication but before the division. > > Do you agree? Have you tried recompiling it with no optimization to see if you get the expected results? --- Jeffrey Blatt Sent via Deja.com http://www.deja.com/ Before you buy.