front-end target arithmetic
Kai Henningsen
kaih@khms.westfalen.de
Fri Jun 6 20:16:00 GMT 2003
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
More information about the Gcc
mailing list