This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Fixed-Point Arithmetic Project
> > We are working on a project to add fixed-point arithmetic support to GCC.
> > A GCC project description page is available here
> > http://gcc.gnu.org/wiki/FixedPointArithmetic
> > and we will create a GCC branch in the near future. If you have
> > any suggestions or comments, please respond.
>
> I expect the Ada front-end people will be interested: the Ada language
> incorporates binary and decimal fixed point types. AFAIK, it is all
> done using emulation at the moment.
Not sure what you mean by "emulation". The implementation provided in
GNAT is indeed a full implementation of Ada fixed point semantics.
It can probably be used either as a reference implementation, or as a base for
comparison (e.g. correctness comparison).
Arno