comp.lang.ada
 help / color / mirror / Atom feed
* Integer Range Question
@ 1986-07-07 16:46 Geoff Mendal
  1986-07-09 21:05 ` Larry Wall
  0 siblings, 1 reply; 2+ messages in thread
From: Geoff Mendal @ 1986-07-07 16:46 UTC (permalink / 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
-------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1986-07-09 21:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1986-07-07 16:46 Integer Range Question Geoff Mendal
1986-07-09 21:05 ` Larry Wall

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