Patchwork [Committed] Fix the tolerance test in bessel_6.f90

login
register
mail settings
Submitter Steve Kargl
Date Sept. 22, 2011, 6:34 p.m.
Message ID <20110922183408.GA71462@troutmask.apl.washington.edu>
Download mbox | patch
Permalink /patch/115996/
State New
Headers show

Comments

Steve Kargl - Sept. 22, 2011, 6:34 p.m.
It seems that after 9 to 12 months, glibc has finally
got up with FreeBSD's libm.  Time to fix the tolerance
test in bessel_6.f90.


2011-09-22  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR testsuite/50487
	* gfortran.dg/bessel_6.f90: Fix tolerance test.

Patch

Index: gfortran.dg/bessel_6.f90
===================================================================
--- gfortran.dg/bessel_6.f90	(revision 179096)
+++ gfortran.dg/bessel_6.f90	(working copy)
@@ -12,7 +12,7 @@ 
 implicit none
 real,parameter :: values(*) = [0.0, 0.5, 1.0, 0.9, 1.8,2.0,3.0,4.0,4.25,8.0,34.53, 475.78] 
 real,parameter :: myeps(size(values)) = epsilon(0.0) &
-                  * [2, 7, 5, 6, 9, 12, 12, 7, 7, 8, 75, 15 ]
+                  * [2, 7, 5, 6, 9, 12, 12, 7, 7, 8, 92, 15 ]
 ! The following is sufficient for me - the values above are a bit
 ! more tolerant
 !                  * [0, 5, 3, 4, 6, 7, 7, 5, 5, 6, 66, 4 ]