This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Committed] Fix the tolerance test in bessel_6.f90
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Thu, 22 Sep 2011 11:34:08 -0700
- Subject: [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