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]

Re: Arbitrary precision representation for numeric constants?


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

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