From: Mendal@SU-SIERRA.ARPA (Geoff Mendal)
Subject: Integer Range Question
Date: Mon, 7-Jul-86 12:46:35 EDT [thread overview]
Date: Mon Jul 7 12:46:35 1986
Message-ID: <12220812234.39.MENDAL@su-sierra.arpa> (raw)
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
-------
next reply other threads:[~1986-07-07 16:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1986-07-07 16:46 Geoff Mendal [this message]
1986-07-09 21:05 ` Integer Range Question Larry Wall
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox