This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFA; DFP and REAL_TYPE?
- From: Robert Dewar <dewar at adacore dot com>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: Jon Grimm <jgrimm2 at us dot ibm dot com>,Richard Henderson <rth at redhat dot com>, gcc at gcc dot gnu dot org
- Date: Mon, 21 Mar 2005 21:45:26 -0500
- Subject: Re: RFA; DFP and REAL_TYPE?
- References: <423F654C.6020605@us.ibm.com> <423F8554.7050709@codesourcery.com>
Mark Mitchell wrote:
What I would hope would work would be modifying real.c to (a) directly
suport the decimal format for storage, and (b) update the emulation of
floating-point operations to work correctly on the decimal format. I
definitely agree that translating into the binary format is likely to
result in various errors.
I see no reason not to use binary format to store decimal numbers ...
I don't have an opinion on exactly what method of modifying real.c would
be cleanest.