comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Prevalence of Compilers for Which Integer'Size < 32?
Date: 1996/07/28
Date: 1996-07-28T00:00:00+00:00	[thread overview]
Message-ID: <dewar.838610210@schonberg> (raw)
In-Reply-To: Dv9JAE.D23@world.std.com


iBob asks:

    type Seconds_In_A_Day is range 0 .. 60*60*24;

(Why does everybody in this thread like literals so much?)

because it is much easier to see that 86_400 is bigger than 32767 than
it is to see that 60*60*24 is bigger than 2**15-1 :-)


P.S. Bob is right, all versions of GNAT support 64 bit integers, this is
true even if the architecture has limited support for such integers
(appropriate software routines are used if necessary).





  reply	other threads:[~1996-07-28  0:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-26  0:00 Prevalence of Compilers for Which Integer'Size < 32? Dave Marshall
1996-07-27  0:00 ` steved
1996-07-28  0:00   ` Dave Marshall
1996-07-28  0:00     ` Robert A Duff
1996-07-28  0:00       ` Robert Dewar [this message]
1996-07-29  0:00         ` Robert A Duff
1996-07-28  0:00     ` Robert Dewar
1996-07-28  0:00     ` steved
1996-07-28  0:00   ` Robert A Duff
1996-07-30  0:00     ` Ken Garlington
1996-07-30  0:00       ` Robert Dewar
1996-08-01  0:00         ` steved
     [not found]         ` <31FF5CF0.5C13@lmtas.lmco.com>
1996-08-03  0:00           ` Robert Dewar
1996-08-07  0:00             ` Ken Garlington
  -- strict thread matches above, loose matches on Subject: below --
1996-07-28  0:00 tmoran
1996-07-29  0:00 ` John Herro
replies disabled

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