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,FREEMAIL_FROM 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,UTF8 Path: g2news2.google.com!news3.google.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: _Type vs no _Type Date: Sat, 06 Nov 2010 22:58:14 +0100 Organization: Ada @ Home 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> NNTP-Posting-Host: w00cPq0BvzOlRCSRJJEoeQ.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.63 (Win32) Xref: g2news2.google.com comp.lang.ada:16323 Date: 2010-11-06T22:58:14+01:00 List-Id: Le Sat, 06 Nov 2010 21:52:58 +0100, Shark8 a = = =C3=A9crit: > On Nov 6, 5:00 am, Georg Bauhaus > wrote: >> On 11/6/10 8:12 AM, Dmitry A. Kazakov wrote: >> >> > Hmm, I would expect you arguing for >> >> > function "/" (Dividend : T; Divisor : T) return T; >> >> > For commutative operations like "+" it becomes a bit difficult: >> >> You aren't suggesting the computer-"+" is a commutative >> operation, are you? > > Excepting floating point numbers; addition is commutative, isn't it? I would welcome an example here. Does not mean I do not believe that (I = = know floating points easily leads to trouble), just that I would like to= = understand, as I always though even with floating points, the addition i= s = commutative. What kind of addition algorithm can end into a none-commutative addition= ? -- = Si les chats miaulent et font autant de vocalises bizarres, c=E2=80=99es= t pas pour = les chiens. =E2=80=9CI am fluent in ASCII=E2=80=9D [Warren 2010]