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=0.7 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!ukma!gatech!hubcap!billwolf From: billwolf@hubcap.clemson.edu (William Thomas Wolfe,2847,) Newsgroups: comp.lang.ada Subject: Re: Overloading of assignment Message-ID: <3668@hubcap.UUCP> Date: 26 Nov 88 20:10:10 GMT References: <3667@hubcap.UUCP> Sender: news@hubcap.UUCP Reply-To: billwolf@hubcap.clemson.edu List-Id: >From article <3667@hubcap.UUCP>, by billwolf@hubcap.clemson.edu (William Thomas Wolfe,2847,): # In the case of integers, for example, we typically have the range % 31 31 31 31 % -2 .. 2 - 1; this would shrink to -2 - 1 .. 2 - 1, using the % 31 $ liberated value of -2 as our representation of "undefined", and $ rendering the range of an integer symmetrical, thus eliminating $ the problem of having -1 * MAXINT raise a NUMERIC_ERROR. 31 31 Technical corrections: the new range would be -(2 - 1) .. 2 - 1, and -1 * MIN_INT would no longer raise NUMERIC_ERROR (or CONSTRAINT_ERROR or whatever).