This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

extract_floating() vs floatformat_to_doublest()


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]