------- Comment #9 from dave at hiauly1 dot hia dot nrc dot ca  2008-12-28 
20:39 -------
Subject: Re:  FAIL: gfortran.dg/nint_2.f90  -O0
        execution test

On Sun, 28 Dec 2008, danglin at gcc dot gnu dot org wrote:

> The value calculated for b = nearest(0.5,-1.0) is 0.49999997 (raw 0x3effffff).
> The code uses the roundf implementation in c99_functions.

I think the tests in roundf need to be revised to minimize rounding
issues.  Patch attached.  This fixes the test on hppa2.0w-hp-hpux11.11.

Dave


------- Comment #10 from dave at hiauly1 dot hia dot nrc dot ca  2008-12-28 
20:39 -------
Created an attachment (id=16996)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16996&action=view)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33595

Reply via email to