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?


> 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.


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