Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libm Change eps to fit within the VAX FP range.
details: https://anonhg.NetBSD.org/src/rev/716deaf373ee
branches: trunk
changeset: 773550:716deaf373ee
user: matt <matt%NetBSD.org@localhost>
date: Sun Feb 05 17:52:55 2012 +0000
description:
Change eps to fit within the VAX FP range.
diffstat:
tests/lib/libm/t_log.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 06132cbb9ef6 -r 716deaf373ee tests/lib/libm/t_log.c
--- a/tests/lib/libm/t_log.c Sun Feb 05 17:47:30 2012 +0000
+++ b/tests/lib/libm/t_log.c Sun Feb 05 17:52:55 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_log.c,v 1.5 2011/09/18 04:49:11 jruoho Exp $ */
+/* $NetBSD: t_log.c,v 1.6 2012/02/05 17:52:55 matt Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_log.c,v 1.5 2011/09/18 04:49:11 jruoho Exp $");
+__RCSID("$NetBSD: t_log.c,v 1.6 2012/02/05 17:52:55 matt Exp $");
#include <atf-c.h>
#include <stdio.h>
@@ -684,7 +684,7 @@
ATF_TC_BODY(log_base, tc)
{
- const double eps = 1.0e-40;
+ const double eps = 1.0e-38;
if (fabs(log(M_E) - 1.0) > eps)
atf_tc_fail_nonfatal("log(e) != 1");
Home |
Main Index |
Thread Index |
Old Index