/third_party/skia/tests/ |
D | WangsFormulaTest.cpp | 15 constexpr static float kPrecision = 4; // 1/4 pixel max error. variable 204 constexpr static float k = (3 * 2) / (8 * (1.f/kPrecision)); in DEF_TEST() 207 float referenceValue = wangs_formula_cubic_reference_impl(kPrecision, pts); in DEF_TEST() 209 float c = wangs_formula::cubic(kPrecision, pts); in DEF_TEST() 211 REPORTER_ASSERT(r, wangs_formula::cubic_log2(kPrecision, pts) == level); in DEF_TEST() 213 referenceValue = wangs_formula_cubic_reference_impl(kPrecision, pts); in DEF_TEST() 215 c = wangs_formula::cubic(kPrecision, pts); in DEF_TEST() 217 REPORTER_ASSERT(r, wangs_formula::cubic_log2(kPrecision, pts) == level + 1); in DEF_TEST() 223 constexpr static float k = 2 / (8 * (1.f/kPrecision)); in DEF_TEST() 226 float referenceValue = wangs_formula_quadratic_reference_impl(kPrecision, pts); in DEF_TEST() [all …]
|
/third_party/json/include/nlohmann/detail/conversions/ |
D | to_chars.hpp | 59 static constexpr int kPrecision = 64; // = q member 84 static_assert(kPrecision == 64, "internal error"); in mul() 204 …constexpr int kPrecision = std::numeric_limits<FloatType>::digits; // = p (includes the hidde… in compute_boundaries() local 205 …constexpr int kBias = std::numeric_limits<FloatType>::max_exponent - 1 + (kPrecision - 1… in compute_boundaries() 207 constexpr std::uint64_t kHiddenBit = std::uint64_t{1} << (kPrecision - 1); // = 2^(p-1) in compute_boundaries() 209 …using bits_type = typename std::conditional<kPrecision == 24, std::uint32_t, std::uint64_t >::type; in compute_boundaries() 212 const std::uint64_t E = bits >> (kPrecision - 1); in compute_boundaries() 890 static_assert(diyfp::kPrecision >= std::numeric_limits<FloatType>::digits + 3, in grisu2()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
D | iostream_state_saver_test.cc | 37 ss.precision(stream_precision_helper<T>::kPrecision); in StreamRoundTrip() 61 ss.precision(stream_precision_helper<T>::kPrecision); in StreamRoundTrip() 153 stream_precision_helper<float>::kPrecision >= 9, in TEST() 212 stream_precision_helper<double>::kPrecision >= 17, in TEST() 286 stream_precision_helper<long double>::kPrecision >= 36, in TEST()
|
D | iostream_state_saver.h | 109 static constexpr int kPrecision = member 117 static constexpr int kPrecision = 9; 121 static constexpr int kPrecision = 17; 125 static constexpr int kPrecision = 36; // assuming fp128
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/ |
D | bernoulli_distribution.h | 112 os.precision(random_internal::stream_precision_helper<double>::kPrecision);
|
D | exponential_distribution.h | 141 os.precision(random_internal::stream_precision_helper<RealType>::kPrecision);
|
D | uniform_real_distribution.h | 179 os.precision(random_internal::stream_precision_helper<RealType>::kPrecision);
|
D | poisson_distribution.h | 236 os.precision(random_internal::stream_precision_helper<double>::kPrecision);
|
D | discrete_distribution.h | 213 os.precision(random_internal::stream_precision_helper<double>::kPrecision);
|
D | gaussian_distribution.h | 186 os.precision(random_internal::stream_precision_helper<RealType>::kPrecision);
|
D | zipf_distribution.h | 242 os.precision(random_internal::stream_precision_helper<double>::kPrecision);
|
D | beta_distribution.h | 401 os.precision(random_internal::stream_precision_helper<RealType>::kPrecision);
|
/third_party/json/tests/abi/include/nlohmann/ |
D | json_v3_10_5.hpp | 14994 static constexpr int kPrecision = 64; // = q member 15019 static_assert(kPrecision == 64, "internal error"); in mul() 15139 …constexpr int kPrecision = std::numeric_limits<FloatType>::digits; // = p (includes the hidde… in compute_boundaries() local 15140 …constexpr int kBias = std::numeric_limits<FloatType>::max_exponent - 1 + (kPrecision - 1… in compute_boundaries() 15142 constexpr std::uint64_t kHiddenBit = std::uint64_t{1} << (kPrecision - 1); // = 2^(p-1) in compute_boundaries() 15144 …using bits_type = typename std::conditional<kPrecision == 24, std::uint32_t, std::uint64_t >::type; in compute_boundaries() 15147 const std::uint64_t E = bits >> (kPrecision - 1); in compute_boundaries() 15825 static_assert(diyfp::kPrecision >= std::numeric_limits<FloatType>::digits + 3, in grisu2()
|
/third_party/json/single_include/nlohmann/ |
D | json.hpp | 16842 static constexpr int kPrecision = 64; // = q member 16867 static_assert(kPrecision == 64, "internal error"); in mul() 16987 …constexpr int kPrecision = std::numeric_limits<FloatType>::digits; // = p (includes the hidde… in compute_boundaries() local 16988 …constexpr int kBias = std::numeric_limits<FloatType>::max_exponent - 1 + (kPrecision - 1… in compute_boundaries() 16990 constexpr std::uint64_t kHiddenBit = std::uint64_t{1} << (kPrecision - 1); // = 2^(p-1) in compute_boundaries() 16992 …using bits_type = typename std::conditional<kPrecision == 24, std::uint32_t, std::uint64_t >::type; in compute_boundaries() 16995 const std::uint64_t E = bits >> (kPrecision - 1); in compute_boundaries() 17673 static_assert(diyfp::kPrecision >= std::numeric_limits<FloatType>::digits + 3, in grisu2()
|
/third_party/mindspore/patches/ |
D | 0005-micro-for-ohos.patch | 17686 constexpr int kPrecision = 19;
|