RFA; DFP and REAL_TYPE?
Mark Mitchell
mark@codesourcery.com
Tue Mar 22 04:33:00 GMT 2005
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
More information about the Gcc
mailing list