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 the powers.
details: https://anonhg.NetBSD.org/src/rev/469aa0bb2006
branches: trunk
changeset: 769656:469aa0bb2006
user: jruoho <jruoho%NetBSD.org@localhost>
date: Sat Sep 17 06:21:19 2011 +0000
description:
Reduce the powers.
diffstat:
tests/lib/libm/t_ldexp.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (39 lines):
diff -r 959c430ba93e -r 469aa0bb2006 tests/lib/libm/t_ldexp.c
--- a/tests/lib/libm/t_ldexp.c Sat Sep 17 03:09:51 2011 +0000
+++ b/tests/lib/libm/t_ldexp.c Sat Sep 17 06:21:19 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_ldexp.c,v 1.8 2011/09/16 04:54:46 jruoho Exp $ */
+/* $NetBSD: t_ldexp.c,v 1.9 2011/09/17 06:21:19 jruoho Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_ldexp.c,v 1.8 2011/09/16 04:54:46 jruoho Exp $");
+__RCSID("$NetBSD: t_ldexp.c,v 1.9 2011/09/17 06:21:19 jruoho Exp $");
#include <math.h>
#include <limits.h>
@@ -50,7 +50,7 @@
ATF_TC_BODY(ldexp_exp2, tc)
{
#ifndef __vax__
- const double n[] = { 1, 2, 3, 25, 50, 100, 123, 321, 500 };
+ const double n[] = { 1, 2, 3, 10, 50, 100 };
const double eps = 1.0e-40;
const double x = 12.0;
double y;
@@ -183,9 +183,9 @@
ATF_TC_BODY(ldexpf_exp2f, tc)
{
#ifndef __vax__
- const float n[] = { 1, 2, 3, 25, 50, 100, 123, 321, 500 };
+ const float n[] = { 1, 2, 3, 10, 50, 100 };
const float eps = 1.0e-9;
- const float x = 12;
+ const float x = 12.0;
float y;
size_t i;
Home |
Main Index |
Thread Index |
Old Index