Lines Matching refs:ceil
46 * ceil(3)
51 atf_tc_set_md_var(tc, "descr", "A basic test of ceil(3)");
59 ATF_CHECK(fabs(ceil(x) - 1) < SMALL_NUM);
60 ATF_CHECK(fabs(ceil(y) - 1) < SMALL_NUM);
66 atf_tc_set_md_var(tc, "descr", "Test ceil(NaN) == NaN");
73 ATF_CHECK(isnan(ceil(x)) != 0);
79 atf_tc_set_md_var(tc, "descr", "Test ceil(-Inf) == -Inf");
85 double y = ceil(x);
88 atf_tc_fail_nonfatal("ceil(-Inf) != -Inf");
94 atf_tc_set_md_var(tc, "descr", "Test ceil(+Inf) == +Inf");
100 double y = ceil(x);
103 atf_tc_fail_nonfatal("ceil(+Inf) != +Inf");
109 atf_tc_set_md_var(tc, "descr", "Test ceil(-0.0) == -0.0");
115 double y = ceil(x);
118 atf_tc_fail_nonfatal("ceil(-0.0) != -0.0");
124 atf_tc_set_md_var(tc, "descr", "Test ceil(+0.0) == +0.0");
130 double y = ceil(x);
133 atf_tc_fail_nonfatal("ceil(+0.0) != +0.0");