From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen L Moshier To: law@cygnus.com Cc: egcs@cygnus.com, Marc Lehmann Subject: Re: expand and truncate and 387 Date: Fri, 20 Nov 1998 05:20:00 -0000 Message-id: References: <717.911408378@upchuck> X-SW-Source: 1998-11/msg00844.html > > > I don't think the x86 backend worries about rounding and truncation on > > > fp->fp conversions. > > > > Assuming the usual long-double precision control setting, > > converting from lower to higher precision is a no-op. > Is that something we can safely assume? I don't think so. That the setting would not always be long double? Right, there has been at least one attempt (at Next) to make the compiler adjust the settings to match the source program declarations. Also, if you wanted the status flags to be "correct" in the IEEE sense, it might take more than a no-op to accomplish that.