Lines Matching refs:mpfr
21 namespace mpfr = __llvm_libc::testing::mpfr; variable
59 static inline mpfr::RoundingMode to_mpfr_rounding_mode(int mode) { in to_mpfr_rounding_mode()
62 return mpfr::RoundingMode::Upward; in to_mpfr_rounding_mode()
64 return mpfr::RoundingMode::Downward; in to_mpfr_rounding_mode()
66 return mpfr::RoundingMode::TowardZero; in to_mpfr_rounding_mode()
68 return mpfr::RoundingMode::Nearest; in to_mpfr_rounding_mode()
129 bool erangeflag = mpfr::round_to_long(x, mpfr_result); in do_round_numbers_test()
151 erangeflag = mpfr::round_to_long(x, to_mpfr_rounding_mode(mode), in do_fractions_test()
154 erangeflag = mpfr::round_to_long(x, mpfr_long_result); in do_fractions_test()
198 mpfr::round_to_long(x, to_mpfr_rounding_mode(m), mpfr_long_result); in testIntegerOverflow()
204 bool erangeflag = mpfr::round_to_long(x, mpfr_long_result); in testIntegerOverflow()
268 bool erangeflag = mpfr::round_to_long(x, to_mpfr_rounding_mode(m), in testNormalRange()
279 bool erangeflag = mpfr::round_to_long(x, mpfr_long_result); in testNormalRange()