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]

[Committed] Fix the tolerance test in bessel_6.f90


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.


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 ]

-- 
Steve


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