From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Kettenis To: ac131313@cygnus.com Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] New function to convert floating-point types Date: Mon, 29 Oct 2001 15:43:00 -0000 Message-id: <200110292343.f9TNh8L17592@delius.kettenis.local> References: <200110282344.f9SNifg21500@delius.kettenis.local> <3BDDBA24.10803@cygnus.com> X-SW-Source: 2001-10/msg00364.html Date: Mon, 29 Oct 2001 15:20:52 -0500 From: Andrew Cagney > Any objections to checking this in? Not from me. So I went ahead and committed it :-) -- This prodded me to think about what DOUBLEST should be changed to. Up until now I'd been thinking of some sort of generic floating point type. However, looking at your case suggests instead something like: struct doublest { char value[a-large-number]; const struct floatformat *format; }; Convert to DOUBLEST would just leave the format as-is. Only when a conversion was really needed would it be converted. Hmm. I see DOUBLEST as a host-specific thing. In the ideal case target-dependent code wouldn't need DOUBLEST at all. Mark