This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PowerPC] libgcc __floattisf


On Sun, Jan 01, 2006 at 10:44:27PM +0000, Joseph S. Myers wrote:
> On Mon, 26 Dec 2005, Alan Modra wrote:
> 
> > where the conversion from long double f to float goes via double.
> > (rs6000.md doesn't have a direct TFmode to SFmode conversion.)
> 
> Double rounding conversion from long double to float via double sounds 
> like a bug.  If there isn't a PR open for it, could you file one?

Is there anything in the C standard that says this behaviour is a bug?
As far as I can see, double rounding is permissible for inexact
conversions.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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