Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe09.iad.POSTED!00000000!not-for-mail From: David Lamb User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: Arithmetic overflow checking References: <015aeb15-57db-48ab-9cd4-77f8448b632f@w24g2000yqw.googlegroups.com> <1f9c17dltrhlmhifuigoa914477r4rg1e1@4ax.com> <658108b9-3fa9-41dd-8701-9f342633864c@x12g2000yql.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 11 Message-ID: NNTP-Posting-Host: 67.193.237.254 X-Complaints-To: abuse@cogeco.net X-Trace: newsfe09.iad 1311031727 67.193.237.254 (Mon, 18 Jul 2011 23:28:47 UTC) NNTP-Posting-Date: Mon, 18 Jul 2011 23:28:47 UTC Date: Mon, 18 Jul 2011 19:28:41 -0400 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6271 On 17/07/2011 11:14 AM, Daniele Futtorovic wrote: > On 11/07/2011 23:49, Joshua Cranmer allegedly wrote: >> What I advocated would basically be a "checked integer": every operation >> is guaranteed to have a result between [min, max]; if not, it throws an >> exception. > > Sounds cool. Any chance we might see it in teh Jav one day? And is there > actually hardware support for it? I think the gist of some other discussion in this thread is that some computers have hardware detection and others don't.