Module Name:    src
Committed By:   jruoho
Date:           Sun Sep 18 04:48:38 UTC 2011

Modified Files:
        src/tests/lib/libm: t_acos.c

Log Message:
Reduce tolerance to see whether still acosf(cosf(x)) != x on i386/qemu.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libm/t_acos.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libm/t_acos.c
diff -u src/tests/lib/libm/t_acos.c:1.1 src/tests/lib/libm/t_acos.c:1.2
--- src/tests/lib/libm/t_acos.c:1.1	Sat Sep 17 18:08:35 2011
+++ src/tests/lib/libm/t_acos.c	Sun Sep 18 04:48:38 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: t_acos.c,v 1.1 2011/09/17 18:08:35 jruoho Exp $ */
+/* $NetBSD: t_acos.c,v 1.2 2011/09/18 04:48:38 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -241,7 +241,7 @@
 {
 #ifndef __vax__
 	const float x[] = { 0.0, 1.0, M_PI / 2, M_PI / 3, M_PI / 6 };
-	const float eps = 1.0e-15;
+	const float eps = 1.0e-5;
 	float y;
 	size_t i;
 

Reply via email to