RFA: Support infinity, NaN, and denormalized numbers in floatformat.c

Carlo Wood carlo@alinoe.com
Wed Dec 3 18:35:00 GMT 2003


On Wed, Dec 03, 2003 at 01:12:45PM -0500, Ian Lance Taylor wrote:
> Here is a patch to improve the support for infinity, NaN, and
> denormalized numbers in floatformat.c.  It's not clear how to handle
> these for non-IEEE formats.  But the old code did entirely the wrong
> thing even when using IEEE formats, which are used by pretty much all
> modern processors.  So I think we might as well do the right thing
> here.

Sorry if this is not related - but what are you going to do
with the demangling of floating point values?  I sensed a strong
opposition against the IEEE decoding - so I removed my IEEE print
routine again :/.

But if your demangler will demangle everything as IEEE regardless
then I suppose I might as well do the same.

Thanks,

-- 
Carlo Wood <carlo@alinoe.com>



More information about the Gcc-patches mailing list