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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,21f9679c40f65a8c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-02 09:21:36 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!sfo2-feed1.news.algx.net!allegiance!news-out.spamkiller.net!propagator-la!news-in-la.newsfeeds.com!news-in.superfeed.net!news.cesnet.cz!crax.cesnet.cz!news.felk.cvut.cz!not-for-mail From: "Sergey Koshcheyev" Newsgroups: comp.lang.ada Subject: Re: Missing **-operator in GNAT 3.14? Date: Tue, 2 Apr 2002 19:11:01 +0200 Organization: Czech Technical University Message-ID: References: <3CA97235.974C8641@NO.SPAM.PLEASE.emw.ericsson.se> <5ee5b646.0204020818.1c6d9799@posting.google.com> NNTP-Posting-Host: m232.dkm.cz X-Trace: ns.felk.cvut.cz 1017767461 80598 62.24.78.232 (2 Apr 2002 17:11:01 GMT) X-Complaints-To: usenet@ns.felk.cvut.cz NNTP-Posting-Date: Tue, 2 Apr 2002 17:11:01 +0000 (UTC) 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 Xref: archiver1.google.com comp.lang.ada:22003 Date: 2002-04-02T19:11:01+02:00 List-Id: "David C. Hoos" wrote in message news:mailman.1017765842.8487.comp.lang.ada@ada.eu.org... > What is the difference between these two operators, in this context? > > David Hoos The difference apparently lies in this: 7. The highest precedence exponentiation operator ** is predefined for every specific integer type T with the following specification: 8. function "**"(Left : T; Right : Natural) return T (http://www.ada-auth.org/arm-html/RM-4-5-6.html) So the second operand of "**" has to be of type Natural, regardless of the type of the first operand. Sergey.