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:
Siva Mahadevan
2025-10-08 17:04:28 -04:00
committed by Li-Wen Hsu
parent 5a674a0694
commit d03c9b8f66
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -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]),
+4 -4
View File
@@ -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();
}