This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: [gfortran] Fix NEAREST constant folder


On Tue, Apr 12, 2005 at 11:09:12PM +0100, Paul Brook wrote:
> Wouldn't that cause double rounding?
> MPFR would round to the full precision, then we'd round again to simulate the 
> reduced precision from the denormal.

No, because we wouldn't round, we'd truncate, just like the real
hardware would.


r~


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