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.9 required=5.0 tests=BAYES_00 autolearn=ham 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: g2news2.google.com!news4.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: small example, using complex variables in Ada Date: Fri, 11 Jun 2010 10:48:37 +0200 Organization: Adalog Message-ID: References: <82ljannyeq.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 11 Jun 2010 08:48:45 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="Dn22F68J9CHYFQQlT81DGA"; logging-data="16343"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/u/UkPXnvJDyva/AGeQvtA" User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) In-Reply-To: Cancel-Lock: sha1:xLrGB5wkRhgvb6Nszz8YzFXtav0= Xref: g2news2.google.com comp.lang.ada:12602 Date: 2010-06-11T10:48:37+02:00 List-Id: 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) > What can you do if you have a non-IEEE machine (number crunchers like Silicon-Graphics machine are not IEEE)? Either emulate IEEE in software, but you are wasting speed and the money you invested in such machines, or implement Java with the native arithmetic, ignoring the standard => total failure of the standard. 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. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr