comp.lang.ada
 help / color / mirror / Atom feed
From: billwolf@hubcap.clemson.edu (William Thomas Wolfe,2847,)
Subject: Re: Overloading of assignment
Date: 26 Nov 88 20:10:10 GMT	[thread overview]
Message-ID: <3668@hubcap.UUCP> (raw)
In-Reply-To: 3667@hubcap.UUCP

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).

  reply	other threads:[~1988-11-26 20:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1988-11-25 12:09 Overloading of assignment Mats Weber
1988-11-26 19:59 ` William Thomas Wolfe,2847,
1988-11-26 20:10   ` William Thomas Wolfe,2847, [this message]
1988-11-29 16:01   ` Stephe Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox