This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: front-end target arithmetic


guerby@acm.org (Laurent GUERBY)  wrote on 03.06.03 in <1054665912.21951.96.camel@localhost.localdomain>:

> On Tue, 2003-06-03 at 17:34, Michael S.Zick wrote:

> > Is the Ada compiler (at compile time) using an external (to Ada)
> > multi-precision library?
>
> It's internal, see ada/uintp.ad[sb]  (infinite precision integer
> arithmetic) and ada/urealp.ad[sb] (rational numbers arithmetic). That's
> a bit less of 5 ksloc of documented code, no big deal.
>
> > If not, could it?
> > Could one mp library be used (at compile time) for both g95 & Ada?
> > Might that also simplifing 'lifting' the Ada library(ies) upto the library
> > level in the build tree?

The obvious (to me) question becomes then,

a. do the Ada arithmetic routines do all the stuff g95 and c++ need, and

b. would it be a reasonable effort to rewrite that thing to make it usable  
from these frontends?

MfG Kai


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]