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,1a52c822fc0dbb23 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon02.news.prodigy.net!prodigy.net!news.glorb.com!news.mv.net!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Rational for not making cursor tagged in Containers Date: Fri, 27 Apr 2007 16:44:58 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <1a8y2vakorfhx.225uqh4hifpd$.dlg@40tude.net> <1xmzi7newnilp.23m3zze8h9yi.dlg@40tude.net> <1177066583.5876.30.camel@localhost.localdomain> <1177080147.5876.87.camel@localhost.localdomain> <1q1kx2jlcvnuj.ck0711mj4few$.dlg@40tude.net> <1177097829.26685.36.camel@localhost.localdomain> <95wmj9goo6wc$.13f1j4dnadwws$.dlg@40tude.net> <1177349886.343834.295210@q75g2000hsh.googlegroups.com> <1177373706.552914.71270@q75g2000hsh.googlegroups.com> <1ccueevyp8oba.11c8wwyujtw1o$.dlg@40tude.net> <1177432057.705889.229690@n35g2000prd.googlegroups.com> <1op3ml5q11aa$.vg0a2lyc9dpv$.dlg@40tude.net> <1177549092.325163.326870@b40g2000prd.googlegroups.com> <1ukuo9arhsjuu.1xhbhqzroadfz.dlg@40tude.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1177706698 21267 192.74.137.71 (27 Apr 2007 20:44:58 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 27 Apr 2007 20:44:58 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:/GBG6cIibbrb8TSL95ioX6BDrbo= Xref: g2news1.google.com comp.lang.ada:15366 Date: 2007-04-27T16:44:58-04:00 List-Id: Markus E Leypold writes: > "Dmitry A. Kazakov" writes: > >> The predefined equality compares memory bit patterns. > > Without looking into the ARM -- I'd be surprised if the ARM defined it > like this. I'm sure it's more like > > - values numeric types shall be equal if their value are equal > - array sahll be equal if they are of equal lengths and all components are equal > - records are equal if all components are equal That's correct. There are cases where it can't compare bit patterns. For floating point, negative zero is equal to positive zero. For a boolean type with convention Fortran: type Logical is new Boolean; pragma Convention(Fortran, Logical); The representation is "zero is false, anything else is true". User-defined "=" composes properly in the tagged case. - Bob