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,80ae596d36288e8a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!feeder.news-service.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Why no socket package in the standard ? Date: Sun, 05 Jun 2011 10:39:10 +0200 Organization: A noiseless patient Spider Message-ID: References: <87k4d4z6b6.fsf@mid.deneb.enyo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 5 Jun 2011 08:39:08 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="zeAFTwWk1JWO9TY/bDbqcg"; logging-data="2675"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ypCiuar9UBzMpk6QPHJJS" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 In-Reply-To: Cancel-Lock: sha1:V3uzFxppLtxR/DWt4GWBCveIJBQ= Xref: g2news1.google.com comp.lang.ada:19618 Date: 2011-06-05T10:39:10+02:00 List-Id: Le 04/06/2011 23:35, anon@att.net a �crit : > Now, having a generic Ada math package or design would insure at least > for math that Ada is System Independent. And using a standard like IEEE > 754 would insure application accuracy while maintaining that System > Independent. > The trouble is that numerical intensive applications often need efficient implementations. If you require IEEE arithmetic, and you are on a machine whose hardware does not support IEEE-754 (note: supports and not implements, since IEEE-754 is a software standard), you have a choice of 1) implement the whole standard in software and say bye-bye to efficiency, or 2) ignore the standard and use the native floating-point, which is a failure of the standardization. The Ada model allows portable guaranteed bounds to inaccurracy, without requiring any particular arithmetic model, and is therefore efficiently implementable on any hardware. That was part of the requirements. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Adalog a d�m�nag� / Adalog has moved: 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00