Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libm Mistakes were made, compare correct values now.
details: https://anonhg.NetBSD.org/src/rev/aade8cb7598b
branches: trunk
changeset: 347354:aade8cb7598b
user: maya <maya%NetBSD.org@localhost>
date: Mon Aug 22 10:36:20 2016 +0000
description:
Mistakes were made, compare correct values now.
diffstat:
tests/lib/libm/t_ilogb.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (24 lines):
diff -r 51efbf24ed88 -r aade8cb7598b tests/lib/libm/t_ilogb.c
--- a/tests/lib/libm/t_ilogb.c Mon Aug 22 09:38:50 2016 +0000
+++ b/tests/lib/libm/t_ilogb.c Mon Aug 22 10:36:20 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_ilogb.c,v 1.1 2016/08/22 08:49:33 maya Exp $ */
+/* $NetBSD: t_ilogb.c,v 1.2 2016/08/22 10:36:20 maya Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -83,11 +83,11 @@
ATF_CHECK(ilogbl(-INFINITY) == INT_MAX);
ATF_CHECK_RAISED_INVALID;
- ATF_CHECK(ilogbf(2^20) == 20);
+ ATF_CHECK(ilogbf(1024) == 10);
ATF_CHECK_RAISED_NOTHING;
- ATF_CHECK(ilogb(2^20) == 20);
+ ATF_CHECK(ilogb(1024) == 10);
ATF_CHECK_RAISED_NOTHING;
- ATF_CHECK(ilogbl(2^20) == 20);
+ ATF_CHECK(ilogbl(1024) == 10);
ATF_CHECK_RAISED_NOTHING;
#ifndef __vax__
Home |
Main Index |
Thread Index |
Old Index