Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libm Reduce tolerance to see whether still acosf(c...



details:   https://anonhg.NetBSD.org/src/rev/03b958c717a5
branches:  trunk
changeset: 769678:03b958c717a5
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sun Sep 18 04:48:38 2011 +0000

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

diffstat:

 tests/lib/libm/t_acos.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e6b45bf61d68 -r 03b958c717a5 tests/lib/libm/t_acos.c
--- a/tests/lib/libm/t_acos.c   Sun Sep 18 01:21:34 2011 +0000
+++ b/tests/lib/libm/t_acos.c   Sun Sep 18 04:48:38 2011 +0000
@@ -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;
 



Home | Main Index | Thread Index | Old Index