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 even more.
details: https://anonhg.NetBSD.org/src/rev/e4bf528e71ed
branches: trunk
changeset: 770475:e4bf528e71ed
user: jruoho <jruoho%NetBSD.org@localhost>
date: Tue Oct 18 14:16:42 2011 +0000
description:
Reduce tolerance even more.
diffstat:
tests/lib/libm/t_cosh.c | 6 +++---
tests/lib/libm/t_sinh.c | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (63 lines):
diff -r 07219e8c7e96 -r e4bf528e71ed tests/lib/libm/t_cosh.c
--- a/tests/lib/libm/t_cosh.c Tue Oct 18 14:12:04 2011 +0000
+++ b/tests/lib/libm/t_cosh.c Tue Oct 18 14:16:42 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_cosh.c,v 1.3 2011/10/18 04:51:01 jruoho Exp $ */
+/* $NetBSD: t_cosh.c,v 1.4 2011/10/18 14:16:42 jruoho Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_cosh.c,v 1.3 2011/10/18 04:51:01 jruoho Exp $");
+__RCSID("$NetBSD: t_cosh.c,v 1.4 2011/10/18 14:16:42 jruoho Exp $");
#include <atf-c.h>
#include <math.h>
@@ -163,7 +163,7 @@
{
#ifndef __vax__
const double x[] = { 0.005, 0.05, 0.0, 1.0, 10.0, 20.0 };
- const float eps = 1.0e-7;
+ const float eps = 1.0e-3;
float y, z;
size_t i;
diff -r 07219e8c7e96 -r e4bf528e71ed tests/lib/libm/t_sinh.c
--- a/tests/lib/libm/t_sinh.c Tue Oct 18 14:12:04 2011 +0000
+++ b/tests/lib/libm/t_sinh.c Tue Oct 18 14:16:42 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_sinh.c,v 1.3 2011/10/18 04:51:01 jruoho Exp $ */
+/* $NetBSD: t_sinh.c,v 1.4 2011/10/18 14:16:42 jruoho Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_sinh.c,v 1.3 2011/10/18 04:51:01 jruoho Exp $");
+__RCSID("$NetBSD: t_sinh.c,v 1.4 2011/10/18 14:16:42 jruoho Exp $");
#include <atf-c.h>
#include <math.h>
@@ -48,7 +48,7 @@
{
#ifndef __vax__
const double x[] = { 0.005, 0.05, 0.0, 1.0, 10.0, 20.0 };
- const double eps = 1.0e-8;
+ const double eps = 1.0e-4;
double y, z;
size_t i;
@@ -165,7 +165,7 @@
{
#ifndef __vax__
const float x[] = { 0.005, 0.05, 0.0, 1.0, 10.0, 20.0 };
- const float eps = 1.0e-4;
+ const float eps = 1.0e-2;
float y, z;
size_t i;
Home |
Main Index |
Thread Index |
Old Index