public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Committed] Fix the tolerance test in bessel_6.f90
@ 2011-09-22 19:31 Steve Kargl
  0 siblings, 0 replies; only message in thread
From: Steve Kargl @ 2011-09-22 19:31 UTC (permalink / raw)
  To: fortran, gcc-patches

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-22 18:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-22 19:31 [Committed] Fix the tolerance test in bessel_6.f90 Steve Kargl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).