From: kst@king.cts.com (Keith Thompson)
Subject: Re: Bignum modular types in Ada95
Date: 1998/02/04
Date: 1998-02-04T00:00:00+00:00 [thread overview]
Message-ID: <886553078.494567@wagasa.cts.com> (raw)
In-Reply-To: 34D74475.6E8F@online.no
If an implementation wants to provide a "bignum" type (say, a 1024-bit
or infinite-precision signed or unsigned integer type), it can do so by
taking advantage of RM95-3.5.4(26) and creating nonstandard integer types.
The implementation may place arbitrary restrictions on the operations
it supports for such types.
Here's the paragraph:
An implementation may provide nonstandard integer types,
descendants of root_integer that are declared outside of
the specification of package Standard, which need not have
all the standard characteristics of a type defined by an
integer_type_definition. For example, a nonstandard integer
type might have an asymmetric base range or it might not be
allowed as an array or loop index (a very long integer). Any type
descended from a nonstandard integer type is also nonstandard. An
implementation may place arbitrary restrictions on the use
of such types; it is implementation defined whether operators
that are predefined for ``any integer type'' are defined for a
particular nonstandard integer type. In any case, such types are
not permitted as explicit_generic_actual_parameters for formal
scalar types -- see 12.5.2.
As far as I know, no implementation has taken advantage of this permission.
--
Keith Thompson (The_Other_Keith) kst@cts.com <*>
^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H
San Diego, California, USA
Trying to keep my daily caffeine intake between the RDA and the LD50.
next prev parent reply other threads:[~1998-02-04 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 ` Markus Kuhn
1998-01-28 0:00 ` Brian Rogoff
1998-01-29 0:00 ` Markus Kuhn
1998-01-30 0:00 ` Brian Rogoff
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 [this message]
[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
1998-02-01 0:00 ` Robert Dewar
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 ` Dmitriy Anisimkov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox