RFA: Support infinity, NaN, and denormalized numbers in floatformat.c
Wed Dec 3 18:47:00 GMT 2003
>>>>> "Ian" == Ian Lance Taylor <email@example.com> writes:
Ian> Here is a patch to improve the support for infinity, NaN, and
Ian> denormalized numbers in floatformat.c. It's not clear how to
Ian> handle these for non-IEEE formats.
Depends on the specific format. For example, DEC float has NaN, but
it doesn't have infinites, and it doesn't have denormals.
And since for that format NaN is never produced as the result of
arithmetic (its only use is as a memory initialization pattern) it
would probably be reasonable enough not to define it. (If you'd want
to define it, you may have to use the hex format.)
More information about the Gdb-patches