Searched refs:t_csqrt (Results 1 – 1 of 1) sorted by relevance
/freebsd/lib/msun/tests/ |
H A D | csqrt_test.c | 45 static long double complex (*t_csqrt)(long double complex); variable 127 ATF_CHECK(t_csqrt(CMPLXL(a, b)) == CMPLXL(x, y)); in test_finite() 140 assert_equal(t_csqrt(CMPLXL(0.0, 0.0)), CMPLXL(0.0, 0.0)); in test_zeros() 141 assert_equal(t_csqrt(CMPLXL(-0.0, 0.0)), CMPLXL(0.0, 0.0)); in test_zeros() 142 assert_equal(t_csqrt(CMPLXL(0.0, -0.0)), CMPLXL(0.0, -0.0)); in test_zeros() 143 assert_equal(t_csqrt(CMPLXL(-0.0, -0.0)), CMPLXL(0.0, -0.0)); in test_zeros() 165 assert_equal(t_csqrt(CMPLXL(-INFINITY, vals[i])), in test_infinities() 167 assert_equal(t_csqrt(CMPLXL(INFINITY, vals[i])), in test_infinities() 170 assert_equal(t_csqrt(CMPLXL(vals[i], INFINITY)), in test_infinities() 172 assert_equal(t_csqrt(CMPLXL(vals[i], -INFINITY)), in test_infinities() [all …]
|