lib/msun/tests: Replace remaining printf() with debug()
Signed-off-by: Siva Mahadevan <me@svmhdvn.name> MFC after: 3 days Sponsored by: The FreeBSD Foundation Pull Request: https://github.com/freebsd/freebsd-src/pull/1871
This commit is contained in:
committed by
Li-Wen Hsu
parent
5a674a0694
commit
d03c9b8f66
@@ -323,9 +323,9 @@ ATF_TC_BODY(test_axes, tc)
|
||||
|
||||
test_odd_tol(csinhf, z, CMPLXL(sinhf(nums[i]), 0), FLT_ULP());
|
||||
test_even_tol(ccoshf, z, CMPLXL(coshf(nums[i]), 0), FLT_ULP());
|
||||
printf("%a %a\n", creal(z), cimag(z));
|
||||
printf("%a %a\n", creal(ctanhf(z)), cimag(ctanhf(z)));
|
||||
printf("%a\n", nextafterf(tanhf(nums[i]), INFINITY));
|
||||
debug("%a %a\n", creal(z), cimag(z));
|
||||
debug("%a %a\n", creal(ctanhf(z)), cimag(ctanhf(z)));
|
||||
debug("%a\n", nextafterf(tanhf(nums[i]), INFINITY));
|
||||
test_odd_tol(ctanhf, z, CMPLXL(tanhf(nums[i]), 0),
|
||||
1.3 * FLT_ULP());
|
||||
test_odd_tol(csinf, z, CMPLXL(sinf(nums[i]),
|
||||
|
||||
@@ -472,7 +472,7 @@ ATF_TC_WITHOUT_HEAD(zeroes);
|
||||
ATF_TC_BODY(zeroes, tc)
|
||||
{
|
||||
for (size_t i = 0; i < nitems(rmodes); i++) {
|
||||
printf("rmode = %d\n", rmodes[i]);
|
||||
debug("rmode = %d\n", rmodes[i]);
|
||||
fesetround(rmodes[i]);
|
||||
test_zeroes();
|
||||
}
|
||||
@@ -482,7 +482,7 @@ ATF_TC_WITHOUT_HEAD(infinities);
|
||||
ATF_TC_BODY(infinities, tc)
|
||||
{
|
||||
for (size_t i = 0; i < nitems(rmodes); i++) {
|
||||
printf("rmode = %d\n", rmodes[i]);
|
||||
debug("rmode = %d\n", rmodes[i]);
|
||||
fesetround(rmodes[i]);
|
||||
test_infinities();
|
||||
}
|
||||
@@ -500,7 +500,7 @@ ATF_TC_WITHOUT_HEAD(small_z);
|
||||
ATF_TC_BODY(small_z, tc)
|
||||
{
|
||||
for (size_t i = 0; i < nitems(rmodes); i++) {
|
||||
printf("rmode = %d\n", rmodes[i]);
|
||||
debug("rmode = %d\n", rmodes[i]);
|
||||
fesetround(rmodes[i]);
|
||||
test_small_z();
|
||||
}
|
||||
@@ -511,7 +511,7 @@ ATF_TC_WITHOUT_HEAD(big_z);
|
||||
ATF_TC_BODY(big_z, tc)
|
||||
{
|
||||
for (size_t i = 0; i < nitems(rmodes); i++) {
|
||||
printf("rmode = %d\n", rmodes[i]);
|
||||
debug("rmode = %d\n", rmodes[i]);
|
||||
fesetround(rmodes[i]);
|
||||
test_big_z();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user