This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFA; DFP and REAL_TYPE?
Robert Dewar wrote:
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 would expect that some decimal floating point values are not precisely
representable in the binary format.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304