Lines Matching refs:truncl
774 * truncl(3)
779 atf_tc_set_md_var(tc, "descr", "A basic test of truncl(3)");
787 ATF_CHECK(truncl(x) < SMALL_NUM);
788 ATF_CHECK(truncl(y) < SMALL_NUM);
794 atf_tc_set_md_var(tc, "descr", "Test truncl(NaN) == NaN");
801 ATF_CHECK(isnan(truncl(x)) != 0);
807 atf_tc_set_md_var(tc, "descr", "Test truncl(-Inf) == -Inf");
813 long double y = truncl(x);
816 atf_tc_fail_nonfatal("truncl(-Inf) != -Inf");
822 atf_tc_set_md_var(tc, "descr", "Test truncl(+Inf) == +Inf");
828 long double y = truncl(x);
831 atf_tc_fail_nonfatal("truncl(+Inf) != +Inf");
837 atf_tc_set_md_var(tc, "descr", "Test truncl(-0.0) == -0.0");
843 long double y = truncl(x);
846 atf_tc_fail_nonfatal("truncl(-0.0) != -0.0");
852 atf_tc_set_md_var(tc, "descr", "Test truncl(+0.0) == +0.0");
858 long double y = truncl(x);
861 atf_tc_fail_nonfatal("truncl(+0.0) != +0.0");