Home
last modified time | relevance | path

Searched refs:kPrecision (Results 1 – 25 of 40) sorted by relevance

12

/third_party/skia/tests/
DWangsFormulaTest.cpp15 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/
Dto_chars.hpp51 static constexpr int kPrecision = 64; // = q member
76 static_assert(kPrecision == 64, "internal error"); in mul()
196 …constexpr int kPrecision = std::numeric_limits<FloatType>::digits; // = p (includes the hidde… in compute_boundaries() local
197 …constexpr int kBias = std::numeric_limits<FloatType>::max_exponent - 1 + (kPrecision - 1… in compute_boundaries()
199 constexpr std::uint64_t kHiddenBit = std::uint64_t{1} << (kPrecision - 1); // = 2^(p-1) in compute_boundaries()
201 …using bits_type = typename std::conditional<kPrecision == 24, std::uint32_t, std::uint64_t >::type; in compute_boundaries()
204 const std::uint64_t E = bits >> (kPrecision - 1); in compute_boundaries()
884 static_assert(diyfp::kPrecision >= std::numeric_limits<FloatType>::digits + 3, in grisu2()
/third_party/abseil-cpp/absl/random/internal/
Diostream_state_saver_test.cc34 ss.precision(stream_precision_helper<T>::kPrecision); in StreamRoundTrip()
58 ss.precision(stream_precision_helper<T>::kPrecision); in StreamRoundTrip()
150 stream_precision_helper<float>::kPrecision >= 9, in TEST()
209 stream_precision_helper<double>::kPrecision >= 17, in TEST()
284 stream_precision_helper<long double>::kPrecision >= 36, in TEST()
Diostream_state_saver.h109 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/internal/
Diostream_state_saver_test.cc37 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()
Diostream_state_saver.h109 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/mindspore/mindspore/lite/micro/coder/opcoders/cmsis-nn/int8/
Dreshape_int8_coder.cc39 code.precision(kPrecision); in DoCode()
Dmul_int8_coder.cc60 code.precision(kPrecision); in DoCode()
Dfullconnection_int8_coder.cc35 code.precision(kPrecision); in DoCode()
Dpooling_int8_coder.cc68 code.precision(kPrecision); in DoCode()
Dsoftmax_int8_coder.cc69 code.precision(kPrecision); in DoCode()
Dadd_int8_coder.cc78 code.precision(kPrecision); in DoCode()
Ddwconv_int8_coder.cc38 code.precision(kPrecision); in DoCode()
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/nnacl/int8/
Dreshape_int8_coder.cc44 code.precision(kPrecision); in DoCode()
Dpooling_int8_coder.cc58 code.precision(kPrecision); in DoCode()
Dsoftmax_int8_coder.cc82 code.precision(kPrecision); in DoCode()
Dconvolution_depthwise_int8_coder.cc118 code.precision(kPrecision); in DoCode()
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/base/
Dquant_dtype_cast_coder.cc57 code.precision(kPrecision); in DoCode()
/third_party/abseil-cpp/absl/random/
Dbernoulli_distribution.h112 os.precision(random_internal::stream_precision_helper<double>::kPrecision);
Dexponential_distribution.h141 os.precision(random_internal::stream_precision_helper<RealType>::kPrecision);
Duniform_real_distribution.h179 os.precision(random_internal::stream_precision_helper<RealType>::kPrecision);
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dbernoulli_distribution.h112 os.precision(random_internal::stream_precision_helper<double>::kPrecision);
Dexponential_distribution.h141 os.precision(random_internal::stream_precision_helper<RealType>::kPrecision);
Duniform_real_distribution.h179 os.precision(random_internal::stream_precision_helper<RealType>::kPrecision);
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/
Dop_coder.h34 constexpr int kPrecision = 19; variable

12