Article View: net.lang.ada
Article #861Integer Range Question
From: Geoff Mendal
Date: Mon, 07 Jul 1986 16:46
Date: Mon, 07 Jul 1986 16:46
18 lines
1117 bytes
1117 bytes
Here's another brain twister from the hackers at Stanford. We're trying to determine whether the following predefined integer type is valid (assume that it is the only predefined integer type): type Integer is range 1 .. 0; The real question here is whether a null range is "symmetric about zero", as required for all predefined integer types. Also at issue is whether System.Min_Int *must* be negative, and likewise System.Max_Int positive. We don't know the answer, so any help is appreciated. LRM references: 3.5(3); 3.5.4(6..7,13); 13.7.1(2..3) gom -------
Technical Details
Message-ID:
<12220812234.39.MENDAL@su-sierra.arpa>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!lll-crg!nike!ucbcad!ucbvax!SU-SIERRA.ARPA!MendalShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!lll-crg!nike!ucbcad!ucbvax!SU-SIERRA.ARPA!Mendal From: Mendal@SU-SIERRA.ARPA (Geoff Mendal) Newsgroups: net.lang.ada Subject: Integer Range Question Message-ID: <12220812234.39.MENDAL@su-sierra.arpa> Date: Mon, 7-Jul-86 12:46:35 EDT Article-I.D.: su-sierr.12220812234.39.MENDAL Posted: Mon Jul 7 12:46:35 1986 Date-Received: Wed, 9-Jul-86 03:27:26 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 18