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: a07f3367d7,e55245590c829bef X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.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: _Type vs no _Type Date: Sun, 07 Nov 2010 07:37:26 +0100 Organization: Adalog Message-ID: References: <86wroy58ff.fsf@gareth.avalon.lan> <86pqup5xfy.fsf@gareth.avalon.lan> <86y69d3rec.fsf@gareth.avalon.lan> <82lj5c5ecm.fsf@stephe-leake.org> <82zktq4n9b.fsf_-_@stephe-leake.org> <4cd53555$0$7665$9b4e6d93@newsspool1.arcor-online.net> <2eff1732-3608-493b-bb80-114313e50b88@u10g2000yqk.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 7 Nov 2010 06:37:30 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="xpWV8KO3svXe1WS6S4sUwA"; logging-data="27394"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18vVwOzgBiYYSFBes5oCHil" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 In-Reply-To: Cancel-Lock: sha1:qPB1jS6F+QthKNGOl8WgVxTn8Wc= Xref: g2news1.google.com comp.lang.ada:15365 Date: 2010-11-07T07:37:26+01:00 List-Id: Le 07/11/2010 03:57, Shark8 a �crit : > The general way to show the non-commutativity of floating-point would > be something like the initialization of the number to something large, > say a hundred-million, and some repetitive additions of some small number > say a hundred-thousand hundred-thousandths, so that what you would expect > mathematically would be a hundred-million and one would actually have > the value one hundred million. > This has nothing to do with commutativity, but with associativity. For sure, floating-point addition is not associative, but can you give an example of non commutativity? -- --------------------------------------------------------- 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