From: Gautier <gautier.demontmollin@maths.unine.ch>
Subject: Re: double-length integers/fixed
Date: 2000/02/25
Date: 2000-02-25T00:00:00+00:00 [thread overview]
Message-ID: <38B6CD2D.E60AEB30@maths.unine.ch> (raw)
In-Reply-To: 529633874wnr@natron.demon.co.uk
Roger Barnett wrote:
> Does anyone know of a package supporting double-length integer
> (and ideally fixed point) types ?
>
> [ i.e. to provide support for a 2n-bit integer/fixed types using a compiler
> which uses n-bits for its largest integer/fixed types ]
>
> I'm looking at a couple of the arbitrary-size support packages, but
> I'd be interested to know if there are any more specific alternatives.
With a package providing arbitrary-size package you can define a fixed-size
subtype :-) E.g.
NB_Blocs_maximal: constant:= 4;
SUBTYPE ENTIER IS Multi_precision_integers.multi_int( NB_Blocs_maximal );
Some links for multi-precision @ http://members.xoom.com/gnatlist/
G.
prev parent reply other threads:[~2000-02-25 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-25 0:00 double-length integers/fixed Roger Barnett
2000-02-25 0:00 ` Gautier [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox