Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/gen add more tests.
details: https://anonhg.NetBSD.org/src/rev/8ba11ebcabf4
branches: trunk
changeset: 770029:8ba11ebcabf4
user: christos <christos%NetBSD.org@localhost>
date: Fri Sep 30 23:51:50 2011 +0000
description:
add more tests.
diffstat:
tests/lib/libc/gen/t_fpsetround.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r f4188c1dbdd4 -r 8ba11ebcabf4 tests/lib/libc/gen/t_fpsetround.c
--- a/tests/lib/libc/gen/t_fpsetround.c Fri Sep 30 23:46:15 2011 +0000
+++ b/tests/lib/libc/gen/t_fpsetround.c Fri Sep 30 23:51:50 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_fpsetround.c,v 1.4 2011/09/30 23:46:15 christos Exp $ */
+/* $NetBSD: t_fpsetround.c,v 1.5 2011/09/30 23:51:50 christos Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_fpsetround.c,v 1.4 2011/09/30 23:46:15 christos Exp $");
+__RCSID("$NetBSD: t_fpsetround.c,v 1.5 2011/09/30 23:51:50 christos Exp $");
#include <float.h>
#include <math.h>
@@ -77,9 +77,15 @@
{ "1.1", { 1, 1, 2, 1 } },
{ "1.5", { 1, 2, 2, 1 } },
{ "1.9", { 1, 2, 2, 1 } },
+ { "2.1", { 2, 2, 3, 2 } },
+ { "2.5", { 2, 2, 3, 2 } },
+ { "2.9", { 2, 3, 3, 2 } },
{ "-1.1", { -1, -1, -1, -2 } },
{ "-1.5", { -1, -2, -1, -2 } },
{ "-1.9", { -1, -2, -1, -2 } },
+ { "-2.1", { -2, -2, -2, -3 } },
+ { "-2.5", { -2, -2, -2, -3 } },
+ { "-2.9", { -2, -3, -2, -3 } },
};
static const char *
Home |
Main Index |
Thread Index |
Old Index