This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Arbitrary precision representation for numeric constants?
- To: gcc at gcc dot gnu dot org
- Subject: Re: Arbitrary precision representation for numeric constants?
- From: Peter Gerwinski <peter at gerwinski dot de>
- Date: Mon, 31 Jan 2000 00:48:28 +0100
- References: <19991017221806.C247@esmeralda.gerwinski.de> <199910181604.RAA16201@phal.cygnus.co.uk>
Hello,
in October 1999, Joern Rennecke answered to my question:
>
> > in `fold-const.c' there is the following comment:
> >
> > /*@@ This file should be rewritten to use an arbitrary precision
> > @@ representation for "struct tree_int_cst" and "struct tree_real_cst".
> > @@ Perhaps the routines could also be used for bc/dc, and made a lib.
> > @@ The routines that translate from the ap rep should
> > @@ warn if precision et. al. is lost.
> > @@ This would also make life easier when this technology is used
> > @@ for cross-compilers. */
> >
> > Is there anyone actually working on this (or planning to work on this)?
>
> At least for floating point values this comment is out of date -
> the REAL_ARITHMENTIC stuff in gcc is actually better than arbitrary
> precision, because it can do floating point operations the way the
> target system does.
So what about the integer part? Any news about this?
Peter
--
http://home.pages.de/~Peter.Gerwinski/ - G-N-U GmbH: http://www.g-n-u.de
Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-19990118
GnuPG key fingerprint: 9E7C 0FC4 8A62 5536 1730 A932 9834 65DB 2143 9422
keys: ftp://ftp.gerwinski.de/pub/keys/ - AntiSpam: http://spam.abuse.net