comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: 64 bit integer support as native type
Date: 23 Sep 1994 11:34:49 -0400
Date: 1994-09-23T11:34:49-04:00	[thread overview]
Message-ID: <35usip$g61@schonberg.cs.nyu.edu> (raw)
In-Reply-To: 35setv$7nq@walters.East.Sun.COM

The 83 RM is not even slightly in the business of defining what integer
types are available. The 9X RM has some very minimal, pretty much
meaningless requirements, about integer sizes.

The one notable exception is that decimal types must support decent
precision, equivalent to 64 binary bits, if the IS annex is supported,
so that is one possible totally portable route in Ada 9X.

For integer types, the idea is that your implementor provides the
appropriate set of integer types.

You have two choices. Either use a compiler that supports 64-bit integer
types. FOr example, all versions of GNAT support at least 64-bit integer
types.

OR, put your own multiple preicision routines to gether (I think that
Bob Eachus has some portable routines for high precision integer arithmetic!)




  parent reply	other threads:[~1994-09-23 15:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-09-22 17:29 64 bit integer support as native type Brent Slone
1994-09-23 11:55 ` Robert I. Eachus
1994-09-23 15:34 ` Robert Dewar [this message]
1994-09-23 16:09 ` Norman H. Cohen
     [not found] <35setv$7nq@walters.east.sun.com>
1994-09-23 17:41 ` Tucker Taft
replies disabled

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