Searched refs:round_to_long (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/libc/test/src/math/ |
| H A D | RoundToIntegerTest.h | 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()
|
| /llvm-project-15.0.7/libc/utils/MPFRWrapper/ |
| H A D | MPFRUtils.cpp | 279 bool round_to_long(long &result) const { in round_to_long() function in __llvm_libc::testing::mpfr::MPFRNumber 289 bool round_to_long(mpfr_rnd_t rnd, long &result) const { in round_to_long() function in __llvm_libc::testing::mpfr::MPFRNumber 292 return rint_result.round_to_long(result); in round_to_long() 920 template <typename T> bool round_to_long(T x, long &result) { in round_to_long() function 922 return mpfr.round_to_long(result); in round_to_long() 925 template bool round_to_long<float>(float, long &); 926 template bool round_to_long<double>(double, long &); 927 template bool round_to_long<long double>(long double, long &); 931 return mpfr.round_to_long(get_mpfr_rounding_mode(mode), result); in round_to_long() 934 template bool round_to_long<float>(float, RoundingMode, long &); [all …]
|
| H A D | MPFRUtils.h | 295 template <typename T> bool round_to_long(T x, long &result); 296 template <typename T> bool round_to_long(T x, RoundingMode mode, long &result);
|