/third_party/boost/libs/math/test/compile_test/ |
D | sf_round_incl_test.cpp | 28 check_result<long>(boost::math::lround<float>(f)); in compile_and_link_test() 29 check_result<long>(boost::math::lround<double>(d)); in compile_and_link_test() 31 check_result<long>(boost::math::lround<long double>(l)); in compile_and_link_test()
|
/third_party/boost/libs/math/test/ |
D | test_round.cpp | 164 long l = lround(arg); in test_round_number() 173 long k = lround(static_cast<T>((std::numeric_limits<long>::max)())); in test_round_number() 175 k = lround(static_cast<T>((std::numeric_limits<long>::min)())); in test_round_number() 227 BOOST_MATH_CHECK_THROW(lround(static_cast<T>(1e20)), boost::math::rounding_error); in test_round() 228 BOOST_MATH_CHECK_THROW(lround(static_cast<T>(-1e20)), boost::math::rounding_error); in test_round() 238 … BOOST_MATH_CHECK_THROW(lround(std::numeric_limits<T>::infinity()), boost::math::rounding_error); in test_round() 239 … BOOST_MATH_CHECK_THROW(lround(-std::numeric_limits<T>::infinity()), boost::math::rounding_error); in test_round() 249 … BOOST_MATH_CHECK_THROW(lround(std::numeric_limits<T>::quiet_NaN()), boost::math::rounding_error); in test_round() 307 …BOOST_MATH_CHECK_THROW(lround(static_cast<T>((std::numeric_limits<long>::max)()) + 1), boost::math… in test_round() 308 …BOOST_MATH_CHECK_THROW(lround(static_cast<T>((std::numeric_limits<long>::min)()) - 1), boost::math… in test_round() [all …]
|
D | test_autodiff_4.cpp | 14 using boost::math::lround; in BOOST_AUTO_TEST_CASE_TEMPLATE() 17 using boost::multiprecision::lround; in BOOST_AUTO_TEST_CASE_TEMPLATE() 20 using detail::lround; in BOOST_AUTO_TEST_CASE_TEMPLATE() 27 auto yl = lround(x); in BOOST_AUTO_TEST_CASE_TEMPLATE() 28 BOOST_CHECK_EQUAL(yl, lround(cx)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
|
/third_party/boost/libs/multiprecision/test/ |
D | test_round.cpp | 226 long l = lround(arg); in test() 228 BOOST_TEST(l == lround(arg + 0)); in test() 279 long k = lround(static_cast<T>((std::numeric_limits<long>::max)())); in test() 281 BOOST_TEST(k == lround(static_cast<T>((std::numeric_limits<long>::max)()) + 0)); in test() 282 k = lround(static_cast<T>((std::numeric_limits<long>::min)())); in test() 284 BOOST_TEST(k == lround(static_cast<T>((std::numeric_limits<long>::min)()) + 0)); in test() 292 k = lround(static_cast<T>((std::numeric_limits<long>::max)() - 1)); in test() 294 k = lround(static_cast<T>((std::numeric_limits<long>::min)() + 1)); in test() 334 …BOOST_CHECK_THROW(result = static_cast<T>(lround(static_cast<T>(1e20))), boost::math::rounding_err… in test() 335 …BOOST_CHECK_THROW(result = static_cast<T>(lround(static_cast<T>(-1e20))), boost::math::rounding_er… in test() [all …]
|
/third_party/boost/boost/math/special_functions/detail/ |
D | round_fwd.hpp | 50 long lround(const T& v, const Policy& pol); 52 long lround(const T& v); 85 using boost::math::lround;\
|
/third_party/boost/boost/math/special_functions/ |
D | round.hpp | 97 inline long lround(const T& v, const Policy& pol) in lround() function 106 inline long lround(const T& v) in lround() function 108 return lround(v, policies::policy<>()); in lround()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | resize_op.cc | 41 output_w = static_cast<int>(std::lround(static_cast<float>(input_w) / input_h * output_h)); in Compute() 45 output_h = static_cast<int>(std::lround(static_cast<float>(input_h) / input_w * output_w)); in Compute()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/soft_dvpp/ |
D | soft_dvpp_decode_resize_jpeg_op.cc | 48 …info.output_width = static_cast<int>(std::lround(static_cast<float>(input_w) / input_h * info.outp… in Compute() 52 …info.output_height = static_cast<int>(std::lround(static_cast<float>(input_h) / input_w * info.out… in Compute()
|
/third_party/skia/third_party/externals/harfbuzz/util/ |
D | ansi-print.hh | 45 lround (double x) in lround() function 203 (*this)(x, y) = d < 0 ? 0 : d > dd ? 255 : lround (d * 255. / dd); in set() 300 unsigned int which = lround ((double) ((best_i + 1) * 8) / bi.height); in block_best() 332 unsigned int which = lround ((double) ((best_i + 1) * 8) / bi.width); in block_best()
|
/third_party/harfbuzz/util/ |
D | ansi-print.cc | 46 lround (double x) in lround() function 206 (*this)(x, y) = d < 0 ? 0 : d > dd ? 255 : lround (d * 255. / dd); in set() 303 unsigned int which = lround ((double) ((best_i + 1) * 8) / bi.height); in block_best() 335 unsigned int which = lround ((double) ((best_i + 1) * 8) / bi.width); in block_best()
|
/third_party/flutter/skia/third_party/externals/harfbuzz/util/ |
D | ansi-print.cc | 46 lround (double x) in lround() function 206 (*this)(x, y) = d < 0 ? 0 : d > dd ? 255 : lround (d * 255. / dd); in set() 303 unsigned int which = lround ((double) ((best_i + 1) * 8) / bi.height); in block_best() 335 unsigned int which = lround ((double) ((best_i + 1) * 8) / bi.width); in block_best()
|
/third_party/musl/porting/liteos_a/kernel/src/math/ |
D | lround.c | 3 long lround(double x) in lround() function
|
/third_party/musl/src/math/ |
D | lround.c | 3 long lround(double x) in lround() function
|
/third_party/musl/src/math/aarch64/ |
D | lround.c | 3 long lround(double x) in lround() function
|
/third_party/musl/libc-test/src/api/ |
D | tgmath.c | 216 #ifdef lround in f() 217 {double r = lround(x);} in f() 219 #error no lround(x) in f()
|
/third_party/musl/src/math/powerpc64/ |
D | lround.c | 5 long lround(double x) in lround() function
|
/third_party/boost/libs/math/src/tr1/ |
D | lround.cpp | 18 return c_policies::lround BOOST_PREVENT_MACRO_SUBSTITUTION(x); in BOOST_PREVENT_MACRO_SUBSTITUTION()
|
D | lroundl.cpp | 18 return c_policies::lround BOOST_PREVENT_MACRO_SUBSTITUTION(x); in BOOST_PREVENT_MACRO_SUBSTITUTION()
|
D | lroundf.cpp | 18 return c_policies::lround BOOST_PREVENT_MACRO_SUBSTITUTION(x); in BOOST_PREVENT_MACRO_SUBSTITUTION()
|
/third_party/boost/boost/math/concepts/ |
D | std_real_concept.hpp | 271 inline long lround(const concepts::std_real_concept& v, const Policy& pol) in lround() function 273 return boost::math::lround(v.value(), pol); in lround() 275 inline long lround(const concepts::std_real_concept& v) in lround() function 277 return boost::math::lround(v.value(), policies::policy<>()); in lround() 419 using concepts::lround;
|
D | real_concept.hpp | 287 inline long lround(const concepts::real_concept& v, const Policy& pol) in lround() function 288 { return boost::math::lround(v.value(), pol); } in lround() 289 inline long lround(const concepts::real_concept& v) in lround() function 290 { return boost::math::lround(v.value(), policies::policy<>()); } in lround()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/winrt/ |
D | InspectableNativeWindow.cpp | 295 return {0, 0, lround(size.Width * mSwapChainScale), lround(size.Height * mSwapChainScale)}; in clientRect()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/winrt/ |
D | InspectableNativeWindow.cpp | 295 return {0, 0, lround(size.Width * mSwapChainScale), lround(size.Height * mSwapChainScale)}; in clientRect()
|
/third_party/musl/libc-test/src/math/ |
D | lround.c | 25 yi = lround(p->x); in main()
|
/third_party/musl/include/ |
D | tgmath.h | 188 #undef lround 251 #define lround(x) __tg_real_nocast(lround, (x)) macro
|