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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,83d7c4caadb45100 X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: Wraparound on modular conversion (was: DECAda/VMS - calling GETJPI) Date: 1996/06/05 Message-ID: #1/1 X-Deja-AN: 158612591 references: organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-06-05T00:00:00+00:00 List-Id: "Probably the best long term solution would be to add an attribute function, analogous to 'Val, that does the modulo operation as part of the conversion. E.g. Modular_Int'Modulo(X) would never overflow, and would perform the modulo operation as part of the conversion. Might be a good "Uniformity Rapporteur Group" (URG) idea..." That sounds useful, I think we will put this in the next version of GNAT.