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: [PATCH/gfortran] Fix handling of subnormal numbers


On Sat, Apr 16, 2005 at 12:56:46PM +0200, Tobias Schl?ter wrote:
> 
> One thing that we should remember about nearest in the context of implementing
> proper dealing of subnormals is that while NEAREST(0.,1.) works correctly now,
> NEAREST(NEAREST(0.,1.), 1.) will not be correctly rounded, and the code which
> checks for a shrinking exponent doesn't make much sense for subnormals.

What are your expectation for NEAREST(NEAREST(0.,1.), 1.)?
Before you answer, consider FRACTION(NEAREST(0.,1.)).

-- 
Steve


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