Fixed-Point Arithmetic Project

Arnaud Charlet charlet@adacore.com
Fri Sep 22 08:01:00 GMT 2006


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



More information about the Gcc mailing list