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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,47fc49812a5e8e38 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 11 Jun 2010 06:54:20 -0500 From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: small example, using complex variables in Ada Date: Fri, 11 Jun 2010 13:00:17 +0100 Reply-To: brian@shapes.demon.co.uk Message-ID: References: <82ljannyeq.fsf@stephe-leake.org> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Usenet-Provider: http://www.giganews.com X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-RuVh3O3lKCbeYNlMFPLCtd1mVHBk58MTCsC8C8eSAqr3k6fhDGgTHbRfjDAdN8kmpiCpHyyAAGG+qWH!diggIO7EEE3YZ/mWiEfdHu9g5QPfkNHi4gxEmWslMKafnXB0XjUaiXDDDVU9hk1xIWoShFk0kdzG!tNai X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Xref: g2news1.google.com comp.lang.ada:11641 Date: 2010-06-11T13:00:17+01:00 List-Id: On Fri, 11 Jun 2010 10:48:37 +0200, "J-P. Rosen" wrote: >Yannick Duch�ne (Hibou57) a �crit : >> Le Thu, 10 Jun 2010 15:27:38 +0200, J-P. Rosen a �crit: >>> For output, rounding is specified in the standard. And BTW, the standard >>> does not specify IEEE (fortunately, it did not make the same mistake as >>> Java!). >> Which mistake ? (not to disagree, just to understand) ... >There is an interesting paper on the internet about why Java failed on >numerics. Sorry, I don't have the exact reference at hand, but it should >be easy to find. At a wild guess, easy to find for anyone who's heard of Prof Kahan. But just in case... I presume you mean http://www.cs.berkeley.edu/~wkahan/JAVAhurt.pdf On the other hand, the abstract starts: "Java�s floating-point arithmetic is blighted by five gratuitous mistakes:" So perhaps the original question "which mistake?" still stands; nos 3) and 4) look particularly bad. - Brian