Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Gene Wirchenko Newsgroups: comp.lang.java.programmer,comp.lang.c Subject: Re: Arithmetic overflow checking Date: Wed, 13 Jul 2011 10:38:32 -0700 Organization: A noiseless patient Spider Lines: 31 Message-ID: <8vlr17d90u9cb63hf64hhstaoamdgsb5je@4ax.com> References: <36bp17tf79bhbd6hovf9srhmcs1jh1c040@4ax.com> <693db00d-83be-4830-a1fc-262d9d34d672@z15g2000pre.googlegroups.com> <9d33ce51-1f6a-4782-8098-a051456532ca@m6g2000prh.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: mx04.eternal-september.org; posting-host="7Qrvczazr82YckO5XW8Vtw"; logging-data="6790"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+pRJ6XdU8bRs5UDLSRrOdArFvKeBotMtg=" X-Newsreader: Forte Agent 4.2/32.1118 Cancel-Lock: sha1:UF5Bhve2mS3DNV1yW398gtu3pW8= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6165 comp.lang.c:8239 On Tue, 12 Jul 2011 16:09:04 -0700 (PDT), lewbloch wrote: >Gene Wirchenko wrote: >> lewbloch wrote: >>> Martin Gregorie wrote: >> >> [snip] >> >>>> [1] The instrument causing the problem was an unmodified Ariane 4 SRI >>>> which raised an out-of-limits exception when the normal Ariane 5 >>>> trajectory exceeded a permitted Ariane 4 horizontal velocity limit.   >> >>      ...the Ariane 5 having more powerful engines. >> >>> In other words, this was a case where there *was* an out-of-range >>> exception, thus it makes the exact opposite point to the one Gene >>> presumably wanted to support. >> >>      The data I read was that the exception was not handled.  IIRC, >> debugging got interpreted as navigational data. >Precisely. There was an exception, and it was not handled. Having >the exception was not enough. No surprise there. Most of us understand that exceptions have to be handled as well as thrown. Sincerely, Gene Wirchenko