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,f584bf624aabe591 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-15 13:28:31 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: adam@irvine.com (Adam Beneschan) Newsgroups: comp.lang.ada Subject: Re: Signed integer to modular type conversion Date: 15 May 2002 13:28:30 -0700 Organization: http://groups.google.com/ Message-ID: References: NNTP-Posting-Host: 66.126.103.122 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1021494510 27928 127.0.0.1 (15 May 2002 20:28:30 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 15 May 2002 20:28:30 GMT Xref: archiver1.google.com comp.lang.ada:24126 Date: 2002-05-15T20:28:30+00:00 List-Id: adam@irvine.com (Adam Beneschan) wrote in message news:... > If there is no solution, I'd like to propose adding an attribute so > that you could write something like > > Y := ModType'Mod (X); > > This attribute would be defined for modular types and would return > X/ModType'Modulus. I meant to say "X mod ModType'Modulus". -- Adam