comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Bignum modular types in Ada95
Date: 1998/02/01
Date: 1998-02-01T00:00:00+00:00	[thread overview]
Message-ID: <dewar.886367302@merv> (raw)
In-Reply-To: EnKEtu.KGp@world.std.com


Robert Duff said

<<True, but the fact remains that I can say "type T is range 1..10**10;"
on some implementations and not others, and that's a portability
problem.  The number "10**10" isn't all *that* big -- we're not talking
about 1000 bits, here.
>>

The standard could certainly have mandated a reasonable minimal range. There
were some such range requirements added to Ada 83, but they are so pathetic
that they are counter-productive, since they imply that it is perfectly
OK to produce a crippled compiler with minimal range capabilities (e.g.
Integer must be at least 16 bits -- wonderful!)

It certainly seems absurd to me if any general purpose Ada compiler does
not implement 64-bit integer arithmetic on all targets at this stage.





  parent reply	other threads:[~1998-02-01  0:00 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-01-27  0:00 Bignum modular types in Ada95 Markus Kuhn
1998-01-28  0:00 ` Dmitriy Anisimkov
1998-01-28  0:00 ` Nick Roberts
1998-01-28  0:00   ` Larry Kilgallen
1998-01-28  0:00   ` Nick Roberts
1998-02-01  0:00     ` Robert Dewar
1998-02-07  0:00       ` Nick Roberts
1998-02-09  0:00         ` Robert Dewar
1998-01-28  0:00 ` Markus Kuhn
1998-01-28  0:00   ` Brian Rogoff
1998-01-29  0:00     ` Markus Kuhn
1998-01-30  0:00       ` Brian Rogoff
     [not found]   ` <EnIIvn.3zr@world.std.com>
1998-01-29  0:00     ` Markus Kuhn
1998-01-31  0:00       ` Nick Roberts
1998-01-29  0:00     ` Mats Weber
     [not found]       ` <EnKEtu.KGp@world.std.com>
1998-01-30  0:00         ` Mats Weber
1998-02-01  0:00           ` Robert Dewar
1998-02-01  0:00           ` Robert Dewar
1998-01-30  0:00         ` Markus Kuhn
1998-01-30  0:00           ` Mats Weber
1998-01-30  0:00             ` Markus Kuhn
1998-01-31  0:00               ` Nick Roberts
1998-02-01  0:00           ` Robert Dewar
1998-01-31  0:00         ` Nick Roberts
1998-02-01  0:00         ` Robert Dewar [this message]
1998-02-01  0:00     ` Robert Dewar
1998-02-01  0:00   ` Robert Dewar
1998-02-02  0:00     ` Tarjei T. Jensen
1998-02-02  0:00       ` Robert Dewar
1998-02-03  0:00         ` Tarjei T. Jensen
1998-02-04  0:00           ` Keith Thompson
replies disabled

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