From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b6e18a91e85f829 X-Google-Attributes: gid103376,public From: Gautier Subject: Re: double-length integers/fixed Date: 2000/02/25 Message-ID: <38B6CD2D.E60AEB30@maths.unine.ch>#1/1 X-Deja-AN: 589938257 Content-Transfer-Encoding: 7bit References: <529633874wnr@natron.demon.co.uk> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 25 Feb 2000 18:41:27 +0100, mac13-32.unine.ch Organization: Maths - Uni =?iso-8859-1?Q?Neuch=E2tel?= MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-02-25T00:00:00+00:00 List-Id: 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.