Home
last modified time | relevance | path

Searched refs:number_type (Results 1 – 25 of 67) sorted by relevance

123

/third_party/boost/boost/multiprecision/
Dmiller_rabin.hpp142 typedef I number_type; in miller_rabin_test() typedef
154 number_type nm1 = n - 1; in miller_rabin_test()
158 number_type q(228), x, y; // We know n is greater than this, as we've excluded small factors in miller_rabin_test()
168 boost::random::uniform_int_distribution<number_type> dist(2, n - 2); in miller_rabin_test()
209 typedef typename detail::expression<tag, Arg1, Arg2, Arg3, Arg4>::result_type number_type; in miller_rabin_test() typedef
210 return miller_rabin_test(number_type(n), trials, gen); in miller_rabin_test()
216 typedef typename detail::expression<tag, Arg1, Arg2, Arg3, Arg4>::result_type number_type; in miller_rabin_test() typedef
217 return miller_rabin_test(number_type(n), trials); in miller_rabin_test()
Dgmp.hpp2599 …ultiprecision::number<boost::multiprecision::gmp_float<Digits10>, ExpressionTemplates> number_type; typedef in std::numeric_limits
2608 static number_type(min)() in number_type() function in std::numeric_limits
2611 static std::pair<bool, number_type> value; in number_type()
2620 static number_type(max)() in number_type() function in std::numeric_limits
2623 static std::pair<bool, number_type> value; in number_type()
2632 BOOST_STATIC_CONSTEXPR number_type lowest() in lowest()
2644 static number_type epsilon() in epsilon()
2647 static std::pair<bool, number_type> value; in epsilon()
2652 …ond.backend().data(), value.second.backend().data(), std::numeric_limits<number_type>::digits - 1); in epsilon()
2657 static number_type round_error() in round_error()
[all …]
Drational_adaptor.hpp342 …ef boost::multiprecision::number<boost::multiprecision::rational_adaptor<IntBackend> > number_type; typedef in std::numeric_limits
347 BOOST_STATIC_CONSTEXPR number_type(min)() { return (base_type::min)(); } in number_type() function in std::numeric_limits
348 BOOST_STATIC_CONSTEXPR number_type(max)() { return (base_type::max)(); } in number_type() function in std::numeric_limits
349 BOOST_STATIC_CONSTEXPR number_type lowest() { return -(max)(); } in lowest()
350 BOOST_STATIC_CONSTEXPR number_type epsilon() { return base_type::epsilon(); } in epsilon()
351 BOOST_STATIC_CONSTEXPR number_type round_error() { return epsilon() / 2; } in round_error()
352 BOOST_STATIC_CONSTEXPR number_type infinity() { return base_type::infinity(); } in infinity()
353 BOOST_STATIC_CONSTEXPR number_type quiet_NaN() { return base_type::quiet_NaN(); } in quiet_NaN()
354 BOOST_STATIC_CONSTEXPR number_type signaling_NaN() { return base_type::signaling_NaN(); } in signaling_NaN()
355 BOOST_STATIC_CONSTEXPR number_type denorm_min() { return base_type::denorm_min(); } in denorm_min()
Dtommath.hpp797 …boost::multiprecision::number<boost::multiprecision::tommath_int, ExpressionTemplates> number_type; typedef in std::numeric_limits
805 static number_type(min)() in number_type() function in std::numeric_limits
807 return number_type(); in number_type()
809 static number_type(max)() in number_type() function in std::numeric_limits
811 return number_type(); in number_type()
813 static number_type lowest() { return (min)(); } in lowest()
821 static number_type epsilon() { return number_type(); } in epsilon()
822 static number_type round_error() { return number_type(); } in round_error()
832 static number_type infinity() { return number_type(); } in infinity()
833 static number_type quiet_NaN() { return number_type(); } in quiet_NaN()
[all …]
Dmpfi.hpp1587 …sion::number<boost::multiprecision::mpfi_float_backend<Digits10>, ExpressionTemplates> number_type; typedef in std::numeric_limits
1591 static number_type(min)() in number_type() function in std::numeric_limits
1594 static std::pair<bool, number_type> value; in number_type()
1603 static number_type(max)() in number_type() function in std::numeric_limits
1606 static std::pair<bool, number_type> value; in number_type()
1615 BOOST_STATIC_CONSTEXPR number_type lowest() in lowest()
1627 static number_type epsilon() in epsilon()
1630 static std::pair<bool, number_type> value; in epsilon()
1635 …ond.backend().data(), value.second.backend().data(), std::numeric_limits<number_type>::digits - 1); in epsilon()
1640 static number_type round_error() in round_error()
[all …]
Ddebug_adaptor.hpp506 …::number<boost::multiprecision::backends::debug_adaptor<Backend>, ExpressionTemplates> number_type; typedef in std::numeric_limits
509 static number_type(min)() BOOST_NOEXCEPT { return (base_type::min)(); } in number_type() function in std::numeric_limits
510 static number_type(max)() BOOST_NOEXCEPT { return (base_type::max)(); } in number_type() function in std::numeric_limits
511 static number_type lowest() BOOST_NOEXCEPT { return -(max)(); } in lowest()
512 static number_type epsilon() BOOST_NOEXCEPT { return base_type::epsilon(); } in epsilon()
513 static number_type round_error() BOOST_NOEXCEPT { return epsilon() / 2; } in round_error()
514 static number_type infinity() BOOST_NOEXCEPT { return base_type::infinity(); } in infinity()
515 static number_type quiet_NaN() BOOST_NOEXCEPT { return base_type::quiet_NaN(); } in quiet_NaN()
516 static number_type signaling_NaN() BOOST_NOEXCEPT { return base_type::signaling_NaN(); } in signaling_NaN()
517 static number_type denorm_min() BOOST_NOEXCEPT { return base_type::denorm_min(); } in denorm_min()
Dlogged_adaptor.hpp602 …:number<boost::multiprecision::backends::logged_adaptor<Backend>, ExpressionTemplates> number_type; typedef in std::numeric_limits
605 static number_type(min)() BOOST_NOEXCEPT { return (base_type::min)(); } in number_type() function in std::numeric_limits
606 static number_type(max)() BOOST_NOEXCEPT { return (base_type::max)(); } in number_type() function in std::numeric_limits
607 static number_type lowest() BOOST_NOEXCEPT { return -(max)(); } in lowest()
608 static number_type epsilon() BOOST_NOEXCEPT { return base_type::epsilon(); } in epsilon()
609 static number_type round_error() BOOST_NOEXCEPT { return epsilon() / 2; } in round_error()
610 static number_type infinity() BOOST_NOEXCEPT { return base_type::infinity(); } in infinity()
611 static number_type quiet_NaN() BOOST_NOEXCEPT { return base_type::quiet_NaN(); } in quiet_NaN()
612 static number_type signaling_NaN() BOOST_NOEXCEPT { return base_type::signaling_NaN(); } in signaling_NaN()
613 static number_type denorm_min() BOOST_NOEXCEPT { return base_type::denorm_min(); } in denorm_min()
/third_party/boost/boost/multiprecision/concepts/
Dmp_number_archetypes.hpp225 …<boost::multiprecision::concepts::number_backend_float_architype, ExpressionTemplates> number_type; typedef in std::numeric_limits
228 static number_type(min)() BOOST_NOEXCEPT { return (base_type::min)(); } in number_type() function in std::numeric_limits
229 static number_type(max)() BOOST_NOEXCEPT { return (base_type::max)(); } in number_type() function in std::numeric_limits
230 static number_type lowest() BOOST_NOEXCEPT { return -(max)(); } in lowest()
231 static number_type epsilon() BOOST_NOEXCEPT { return base_type::epsilon(); } in epsilon()
232 static number_type round_error() BOOST_NOEXCEPT { return base_type::round_error(); } in round_error()
233 static number_type infinity() BOOST_NOEXCEPT { return base_type::infinity(); } in infinity()
234 static number_type quiet_NaN() BOOST_NOEXCEPT { return base_type::quiet_NaN(); } in quiet_NaN()
235 static number_type signaling_NaN() BOOST_NOEXCEPT { return base_type::signaling_NaN(); } in signaling_NaN()
236 static number_type denorm_min() BOOST_NOEXCEPT { return base_type::denorm_min(); } in denorm_min()
/third_party/boost/libs/multiprecision/performance/
Darithmetic_backend.hpp630 …on::number<boost::multiprecision::arithmetic_backend<Arithmetic>, ExpressionTemplates> number_type; typedef in std::numeric_limits
633 BOOST_STATIC_CONSTEXPR number_type(min)() BOOST_NOEXCEPT { return (base_type::min)(); } in number_type() function in std::numeric_limits
634 BOOST_STATIC_CONSTEXPR number_type(max)() BOOST_NOEXCEPT { return (base_type::max)(); } in number_type() function in std::numeric_limits
635 BOOST_STATIC_CONSTEXPR number_type lowest() BOOST_NOEXCEPT { return -(max)(); } in lowest()
636 BOOST_STATIC_CONSTEXPR number_type epsilon() BOOST_NOEXCEPT { return base_type::epsilon(); } in epsilon()
637 BOOST_STATIC_CONSTEXPR number_type round_error() BOOST_NOEXCEPT { return epsilon() / 2; } in round_error()
638 BOOST_STATIC_CONSTEXPR number_type infinity() BOOST_NOEXCEPT { return base_type::infinity(); } in infinity()
639 BOOST_STATIC_CONSTEXPR number_type quiet_NaN() BOOST_NOEXCEPT { return base_type::quiet_NaN(); } in quiet_NaN()
640 …BOOST_STATIC_CONSTEXPR number_type signaling_NaN() BOOST_NOEXCEPT { return base_type::signaling_Na… in signaling_NaN()
641 … BOOST_STATIC_CONSTEXPR number_type denorm_min() BOOST_NOEXCEPT { return base_type::denorm_min(); } in denorm_min()
[all …]
/third_party/libphonenumber/cpp/src/phonenumbers/geocoding/
Dphonenumber_offline_geocoder.cc164 PhoneNumberUtil::PhoneNumberType number_type = in GetDescriptionForNumber() local
166 if (number_type == PhoneNumberUtil::UNKNOWN) { in GetDescriptionForNumber()
168 } else if (!phone_util_->IsNumberGeographical(number_type, in GetDescriptionForNumber()
178 PhoneNumberUtil::PhoneNumberType number_type = in GetDescriptionForNumber() local
180 if (number_type == PhoneNumberUtil::UNKNOWN) { in GetDescriptionForNumber()
182 } else if (!phone_util_->IsNumberGeographical(number_type, in GetDescriptionForNumber()
/third_party/spirv-tools/source/
Dtext_handler.cpp244 spvtools::utils::NumberType number_type; in binaryEncodeNumericLiteral() local
251 number_type = {type.bitwidth, SPV_NUMBER_SIGNED_INT}; in binaryEncodeNumericLiteral()
253 number_type = {type.bitwidth, SPV_NUMBER_UNSIGNED_INT}; in binaryEncodeNumericLiteral()
257 number_type = {type.bitwidth, SPV_NUMBER_FLOATING}; in binaryEncodeNumericLiteral()
267 number_type = {bitwidth, SPV_NUMBER_FLOATING}; in binaryEncodeNumericLiteral()
269 number_type = {bitwidth, SPV_NUMBER_SIGNED_INT}; in binaryEncodeNumericLiteral()
271 number_type = {bitwidth, SPV_NUMBER_UNSIGNED_INT}; in binaryEncodeNumericLiteral()
278 val, number_type, in binaryEncodeNumericLiteral()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dtext_handler.cpp245 spvtools::utils::NumberType number_type; in binaryEncodeNumericLiteral() local
252 number_type = {type.bitwidth, SPV_NUMBER_SIGNED_INT}; in binaryEncodeNumericLiteral()
254 number_type = {type.bitwidth, SPV_NUMBER_UNSIGNED_INT}; in binaryEncodeNumericLiteral()
258 number_type = {type.bitwidth, SPV_NUMBER_FLOATING}; in binaryEncodeNumericLiteral()
268 number_type = {bitwidth, SPV_NUMBER_FLOATING}; in binaryEncodeNumericLiteral()
270 number_type = {bitwidth, SPV_NUMBER_SIGNED_INT}; in binaryEncodeNumericLiteral()
272 number_type = {bitwidth, SPV_NUMBER_UNSIGNED_INT}; in binaryEncodeNumericLiteral()
279 val, number_type, in binaryEncodeNumericLiteral()
/third_party/skia/third_party/externals/spirv-tools/source/
Dtext_handler.cpp245 spvtools::utils::NumberType number_type; in binaryEncodeNumericLiteral() local
252 number_type = {type.bitwidth, SPV_NUMBER_SIGNED_INT}; in binaryEncodeNumericLiteral()
254 number_type = {type.bitwidth, SPV_NUMBER_UNSIGNED_INT}; in binaryEncodeNumericLiteral()
258 number_type = {type.bitwidth, SPV_NUMBER_FLOATING}; in binaryEncodeNumericLiteral()
268 number_type = {bitwidth, SPV_NUMBER_FLOATING}; in binaryEncodeNumericLiteral()
270 number_type = {bitwidth, SPV_NUMBER_SIGNED_INT}; in binaryEncodeNumericLiteral()
272 number_type = {bitwidth, SPV_NUMBER_UNSIGNED_INT}; in binaryEncodeNumericLiteral()
279 val, number_type, in binaryEncodeNumericLiteral()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dtext_handler.cpp244 spvutils::NumberType number_type; in binaryEncodeNumericLiteral() local
251 number_type = {type.bitwidth, SPV_NUMBER_SIGNED_INT}; in binaryEncodeNumericLiteral()
253 number_type = {type.bitwidth, SPV_NUMBER_UNSIGNED_INT}; in binaryEncodeNumericLiteral()
257 number_type = {type.bitwidth, SPV_NUMBER_FLOATING}; in binaryEncodeNumericLiteral()
267 number_type = {bitwidth, SPV_NUMBER_FLOATING}; in binaryEncodeNumericLiteral()
269 number_type = {bitwidth, SPV_NUMBER_SIGNED_INT}; in binaryEncodeNumericLiteral()
271 number_type = {bitwidth, SPV_NUMBER_UNSIGNED_INT}; in binaryEncodeNumericLiteral()
278 val, number_type, in binaryEncodeNumericLiteral()
/third_party/spirv-tools/source/opt/
Dset_spec_constant_default_value_pass.cpp54 NumberType number_type = {32, SPV_NUMBER_UNSIGNED_INT}; in ParseDefaultValueStr() local
56 number_type.bitwidth = IT->width(); in ParseDefaultValueStr()
57 number_type.kind = in ParseDefaultValueStr()
60 number_type.bitwidth = FT->width(); in ParseDefaultValueStr()
61 number_type.kind = SPV_NUMBER_FLOATING; in ParseDefaultValueStr()
69 text, number_type, [&result](uint32_t word) { result.push_back(word); }, in ParseDefaultValueStr()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dset_spec_constant_default_value_pass.cpp54 NumberType number_type = {32, SPV_NUMBER_UNSIGNED_INT}; in ParseDefaultValueStr() local
56 number_type.bitwidth = IT->width(); in ParseDefaultValueStr()
57 number_type.kind = in ParseDefaultValueStr()
60 number_type.bitwidth = FT->width(); in ParseDefaultValueStr()
61 number_type.kind = SPV_NUMBER_FLOATING; in ParseDefaultValueStr()
69 text, number_type, [&result](uint32_t word) { result.push_back(word); }, in ParseDefaultValueStr()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dset_spec_constant_default_value_pass.cpp54 NumberType number_type = {32, SPV_NUMBER_UNSIGNED_INT}; in ParseDefaultValueStr() local
56 number_type.bitwidth = IT->width(); in ParseDefaultValueStr()
57 number_type.kind = in ParseDefaultValueStr()
60 number_type.bitwidth = FT->width(); in ParseDefaultValueStr()
61 number_type.kind = SPV_NUMBER_FLOATING; in ParseDefaultValueStr()
69 text, number_type, [&result](uint32_t word) { result.push_back(word); }, in ParseDefaultValueStr()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dset_spec_constant_default_value_pass.cpp53 NumberType number_type = {32, SPV_NUMBER_UNSIGNED_INT}; in ParseDefaultValueStr() local
55 number_type.bitwidth = IT->width(); in ParseDefaultValueStr()
56 number_type.kind = in ParseDefaultValueStr()
59 number_type.bitwidth = FT->width(); in ParseDefaultValueStr()
60 number_type.kind = SPV_NUMBER_FLOATING; in ParseDefaultValueStr()
68 text, number_type, [&result](uint32_t word) { result.push_back(word); }, in ParseDefaultValueStr()
/third_party/mindspore/mindspore/ops/operations/
Dmath_ops.py93 def do_infer_dtype(x_dtype, y_dtype, valid_dtype=mstype.number_type, prim_name=None):
117 return _MathBinaryOp.do_infer_dtype(x_dtype, y_dtype, mstype.number_type, self.name)
291 validator.check_scalar_or_tensor_types_same(args, mstype.number_type, self.name)
362 validator.check_scalar_or_tensor_types_same(args, mstype.number_type, self.name)
391 def do_infer(self, input_x, axis, valid_dtype=mstype.number_type):
826 return self.do_infer(input_x, axis, mstype.number_type + (mstype.bool_,))
1054 validator.check_tensor_dtype_valid('x', x_type, mstype.number_type, cls_name)
1475 …validator.check_tensors_dtypes_same_and_valid(args, mstype.number_type + (mstype.bool_,), cls_name)
1517 validator.check_tensor_dtype_valid("x", x_dtype, mstype.number_type, self.name)
1887 validator.check_tensor_dtype_valid("x", x_dtype, mstype.number_type, self.name)
[all …]
Dcontrol_ops.py82 "data", data_type, (mstype.tensor,) + mstype.number_type, self.name)
124 … validator.check_scalar_or_tensor_types_same(args, (mstype.bool_,) + mstype.number_type, self.name)
/third_party/boost/libs/multiprecision/test/
Dtest_arithmetic_cpp_bin_float_3.cpp13number_type; typedef
14 …ion::number<boost::multiprecision::cpp_bin_float<((std::numeric_limits<number_type>::digits / 2) >…
Dtest_arithmetic_cpp_bin_float_1.cpp13number_type; typedef
14 …ion::number<boost::multiprecision::cpp_bin_float<((std::numeric_limits<number_type>::digits / 2) >…
Dtest_arithmetic_cpp_bin_float_2.cpp15number_type; typedef
16 …ion::number<boost::multiprecision::cpp_bin_float<((std::numeric_limits<number_type>::digits / 2) >…
Dtest_arithmetic_cpp_bin_float_2m.cpp16number_type; typedef
17 …ion::number<boost::multiprecision::cpp_bin_float<((std::numeric_limits<number_type>::digits / 2) >…
/third_party/boost/boost/multiprecision/cpp_int/
Dlimits.hpp168 …boost::multiprecision::number<backend_type, ExpressionTemplates> number_type; typedef in std::numeric_limits
174 (std::numeric_limits<number_type>::max)(); in inititializer()
175 (std::numeric_limits<number_type>::min)(); in inititializer()
188 static BOOST_CXX14_CONSTEXPR_IF_DETECTION number_type(min)() in number_type() function in std::numeric_limits
193 static BOOST_CXX14_CONSTEXPR_IF_DETECTION number_type(max)() in number_type() function in std::numeric_limits
198 static BOOST_CXX14_CONSTEXPR_IF_DETECTION number_type lowest() { return (min)(); } in lowest()
206 static BOOST_CXX14_CONSTEXPR_IF_DETECTION number_type epsilon() { return 0; } in epsilon()
207 static BOOST_CXX14_CONSTEXPR_IF_DETECTION number_type round_error() { return 0; } in round_error()
217 …static BOOST_CXX14_CONSTEXPR_IF_DETECTION number_type infinity() { return 0… in infinity()
218 …static BOOST_CXX14_CONSTEXPR_IF_DETECTION number_type quiet_NaN() { return … in quiet_NaN()
[all …]

123