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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b61052ba3fdc8c26 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-31 14:21:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!opentransit.net!proxad.net!news-hub.cableinet.net!blueyonder!btnet-peer!btnet!newspeer.clara.net!news.clara.net!news5-gui.server.ntli.net!ntli.net!news6-win.server.ntlworld.com.POSTED!not-for-mail From: "chris.danx" Newsgroups: comp.lang.ada References: Subject: Re: Integers and Mathematical Correctness MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Wed, 31 Oct 2001 22:16:17 -0000 NNTP-Posting-Host: 62.253.8.163 X-Complaints-To: abuse@ntlworld.com X-Trace: news6-win.server.ntlworld.com 1004566554 62.253.8.163 (Wed, 31 Oct 2001 22:15:54 GMT) NNTP-Posting-Date: Wed, 31 Oct 2001 22:15:54 GMT Organization: ntlworld News Service Xref: archiver1.google.com comp.lang.ada:15513 Date: 2001-10-31T22:16:17+00:00 List-Id: "David C. Hoos" wrote in message news:mailman.1004563184.27931.comp.lang.ada@ada.eu.org... > > ----- Original Message ----- > From: "chris.danx" > > > type c_integer is new integer; > > > > function "/" (a, b : c_integer) return c_integer is > > begin > > return standard."/" (a, b); -- simple test of override > If you want to use Standard."/" here, you must convert > a and b to Integer, because Standard doesn't know about > c_integer. why does xxx : c_integer := c_integer(-3)/c_integer(2); work then? Is it not the same? Thanks, Chris