Module Name: src
Committed By: jruoho
Date: Mon Sep 12 17:46:39 UTC 2011
Modified Files:
src/tests/lib/libm: t_ldexp.c
Log Message:
Improve the metadata descriptions.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libm/t_ldexp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/lib/libm/t_ldexp.c
diff -u src/tests/lib/libm/t_ldexp.c:1.3 src/tests/lib/libm/t_ldexp.c:1.4
--- src/tests/lib/libm/t_ldexp.c:1.3 Mon Sep 12 16:28:37 2011
+++ src/tests/lib/libm/t_ldexp.c Mon Sep 12 17:46:39 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: t_ldexp.c,v 1.3 2011/09/12 16:28:37 jruoho Exp $ */
+/* $NetBSD: t_ldexp.c,v 1.4 2011/09/12 17:46:39 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.3 2011/09/12 16:28:37 jruoho Exp $");
+__RCSID("$NetBSD: t_ldexp.c,v 1.4 2011/09/12 17:46:39 jruoho Exp $");
#include <math.h>
#include <limits.h>
@@ -44,7 +44,7 @@
ATF_TC(ldexp_nan);
ATF_TC_HEAD(ldexp_nan, tc)
{
- atf_tc_set_md_var(tc, "descr", "Test NaN with ldexp(3)");
+ atf_tc_set_md_var(tc, "descr", "Test ldexp(NaN) == NaN");
}
ATF_TC_BODY(ldexp_nan, tc)
@@ -66,7 +66,7 @@
ATF_TC(ldexp_inf_neg);
ATF_TC_HEAD(ldexp_inf_neg, tc)
{
- atf_tc_set_md_var(tc, "descr", "Test -Inf with ldexp(3)");
+ atf_tc_set_md_var(tc, "descr", "Test ldexp(-Inf) == -Inf");
}
ATF_TC_BODY(ldexp_inf_neg, tc)
@@ -83,7 +83,7 @@
ATF_TC(ldexp_inf_pos);
ATF_TC_HEAD(ldexp_inf_pos, tc)
{
- atf_tc_set_md_var(tc, "descr", "Test +Inf with ldexp(3)");
+ atf_tc_set_md_var(tc, "descr", "Test ldexp(+Inf) == +Inf");
}
ATF_TC_BODY(ldexp_inf_pos, tc)
@@ -100,7 +100,7 @@
ATF_TC(ldexp_zero_neg);
ATF_TC_HEAD(ldexp_zero_neg, tc)
{
- atf_tc_set_md_var(tc, "descr", "Test -0.0 with ldexp(3)");
+ atf_tc_set_md_var(tc, "descr", "Test ldexp(-0.0) == -0.0");
}
ATF_TC_BODY(ldexp_zero_neg, tc)
@@ -123,7 +123,7 @@
ATF_TC(ldexp_zero_pos);
ATF_TC_HEAD(ldexp_zero_pos, tc)
{
- atf_tc_set_md_var(tc, "descr", "Test +0.0 with ldexp(3)");
+ atf_tc_set_md_var(tc, "descr", "Test ldexp(+0.0) == +0.0");
}
ATF_TC_BODY(ldexp_zero_pos, tc)
@@ -146,7 +146,7 @@
ATF_TC(ldexpf_nan);
ATF_TC_HEAD(ldexpf_nan, tc)
{
- atf_tc_set_md_var(tc, "descr", "Test NaN with ldexpf(3)");
+ atf_tc_set_md_var(tc, "descr", "Test ldexpf(NaN) == NaN");
}
ATF_TC_BODY(ldexpf_nan, tc)
@@ -172,7 +172,7 @@
ATF_TC(ldexpf_inf_neg);
ATF_TC_HEAD(ldexpf_inf_neg, tc)
{
- atf_tc_set_md_var(tc, "descr", "Test -Inf with ldexpf(3)");
+ atf_tc_set_md_var(tc, "descr", "Test ldexpf(-Inf) == -Inf");
}
ATF_TC_BODY(ldexpf_inf_neg, tc)
@@ -189,7 +189,7 @@
ATF_TC(ldexpf_inf_pos);
ATF_TC_HEAD(ldexpf_inf_pos, tc)
{
- atf_tc_set_md_var(tc, "descr", "Test +Inf with ldexpf(3)");
+ atf_tc_set_md_var(tc, "descr", "Test ldexpf(+Inf) == +Inf");
}
ATF_TC_BODY(ldexpf_inf_pos, tc)
@@ -206,7 +206,7 @@
ATF_TC(ldexpf_zero_neg);
ATF_TC_HEAD(ldexpf_zero_neg, tc)
{
- atf_tc_set_md_var(tc, "descr", "Test -0.0 with ldexpf(3)");
+ atf_tc_set_md_var(tc, "descr", "Test ldexpf(-0.0) == -0.0");
}
ATF_TC_BODY(ldexpf_zero_neg, tc)
@@ -229,7 +229,7 @@
ATF_TC(ldexpf_zero_pos);
ATF_TC_HEAD(ldexpf_zero_pos, tc)
{
- atf_tc_set_md_var(tc, "descr", "Test +0.0 with ldexpf(3)");
+ atf_tc_set_md_var(tc, "descr", "Test ldexpf(+0.0) == +0.0");
}
ATF_TC_BODY(ldexpf_zero_pos, tc)