This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
extract_floating() vs floatformat_to_doublest()
- To: gdb at sources dot redhat dot com
- Subject: extract_floating() vs floatformat_to_doublest()
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 01 Aug 2001 17:31:36 -0400
Hello,
Now that I've isolated the doublest code (doublest.[hc]), the next step
is to rationalize the number of interfaces available for doing floating
point conversion. Currently there are:
floatformat_to_doublest()
extract_floating()
and
floatformat_from_doublest()
store_floating()
I've two possabilities in mind:
o dump extract/store floating
(fixing floatformat_*_doublest())
o dump floatformat_*_doublest
(possibly replace *_floating()
with extract,store_floatformat())
my current preference is the former. Does anyone have a compelling
argument for the latter?
Andrew
PS: FIX floatformat_*_doublest()? Er, fix in the sense that it would us
host FP when applicable. This is what extract_floating() currently does
only badly.