Home
last modified time | relevance | path

Searched refs:is_integer (Results 1 – 25 of 149) sorted by relevance

123456

/third_party/flutter/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/
Dsafe_math_impl.h83 typename std::enable_if<std::numeric_limits<Integer>::is_integer,
92 typename std::enable_if<std::numeric_limits<Integer>::is_integer,
101 std::numeric_limits<Integer>::is_integer,
109 static const typename std::enable_if<std::numeric_limits<Integer>::is_integer, size_t>::type
118 bool IsInteger = std::numeric_limits<Numeric>::is_integer,
156 typename std::enable_if<std::numeric_limits<T>::is_integer, T>::type
186 typename std::enable_if<std::numeric_limits<T>::is_integer, T>::type
220 typename std::enable_if<std::numeric_limits<T>::is_integer && sizeof(T) * 2 <= sizeof(uintmax_t),
231 typename std::enable_if<std::numeric_limits<T>::is_integer && std::numeric_limits<T>::is_signed &&
261 typename std::enable_if<std::numeric_limits<T>::is_integer && !std::numeric_limits<T>::is_signed &&
[all …]
Dsafe_numerics_unittest.cc58 Src max = SrcLimits::max() / 2 + (SrcLimits::is_integer ? 1 : 0); in GetMaxConvertibleToFloat()
85 typename std::enable_if<numeric_limits<Dst>::is_integer && numeric_limits<Dst>::is_signed, in TestSpecializedArithmetic()
127 typename std::enable_if<numeric_limits<Dst>::is_integer && !numeric_limits<Dst>::is_signed, in TestSpecializedArithmetic()
319 (DstLimits::is_iec559 && SrcLimits::is_integer) || in Test()
321 (!(DstLimits::is_integer && SrcLimits::is_iec559) && in Test()
374 static_assert(sizeof(Dst) < sizeof(Src) || (DstLimits::is_integer && SrcLimits::is_iec559), in Test()
391 if (DstLimits::is_integer) in Test()
452 (DstLimits::is_integer && SrcLimits::is_iec559) || (sizeof(Dst) < sizeof(Src)), in Test()
472 if (DstLimits::is_integer) in Test()
/third_party/boost/boost/random/
Dtraits.hpp42 BOOST_STATIC_ASSERT(std::numeric_limits<T>::is_integer == true);
72 BOOST_STATIC_ASSERT(std::numeric_limits<T>::is_integer == true);
95 : public mpl::bool_<boost::is_integral<T>::value || (std::numeric_limits<T>::is_integer)>
100 … || (std::numeric_limits<T>::is_specialized && std::numeric_limits<T>::is_integer && std::numeric_…
Duniform_01.hpp97 result_type(std::numeric_limits<base_result>::is_integer ? 1 : 0));
132 BOOST_STATIC_ASSERT(!std::numeric_limits<RealType>::is_integer);
139 result_type(std::numeric_limits<base_result>::is_integer ? 1 : 0)))
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_sampler.c97 const GLboolean is_integer = texobj->_IsIntegerFormat; in st_convert_sampler() local
119 st_translate_color(&tmp, texBaseFormat, is_integer); in st_convert_sampler()
122 &tmp, swz, is_integer); in st_convert_sampler()
125 texBaseFormat, is_integer); in st_convert_sampler()
129 texBaseFormat, is_integer); in st_convert_sampler()
131 sampler->border_color_is_integer = is_integer; in st_convert_sampler()
/third_party/boost/libs/math/test/
Dstd_real_concept_check.cpp50 static const bool is_integer = false; member
88 static const bool is_integer = false; member
126 static const bool is_integer = false; member
164 static const bool is_integer = false; member
Dtest_autodiff.hpp90 using is_integer_t = mp11::mp_bool<std::numeric_limits<T>::is_integer>;
98 static_assert((std::numeric_limits<T>::is_integer &&
99 std::numeric_limits<distribution_param_t>::is_integer) ||
100 (!std::numeric_limits<T>::is_integer &&
101 !std::numeric_limits<distribution_param_t>::is_integer),
/third_party/boost/boost/math/tools/
Dpolynomial_gcd.hpp117 typename enable_if_c< std::numeric_limits<T>::is_integer, polynomial<T> >::type
170 typename enable_if_c<std::numeric_limits<T>::is_integer && !std::numeric_limits<T>::is_bounded, pol…
177 typename enable_if_c<std::numeric_limits<T>::is_integer && std::numeric_limits<T>::is_bounded, poly…
185 typename enable_if_c<!std::numeric_limits<T>::is_integer && (std::numeric_limits<T>::min_exponent !…
/third_party/boost/libs/math/test/compile_test/
Dstd_real_concept_check.cpp53 static const bool is_integer = false; member
92 static const bool is_integer = false; member
131 static const bool is_integer = false; member
170 static const bool is_integer = false; member
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
Dtype_mat4x4.inl116 …GLM_STATIC_ASSERT(std::numeric_limits<X1>::is_iec559 || std::numeric_limits<X1>::is_integer || GLM…
117 …GLM_STATIC_ASSERT(std::numeric_limits<Y1>::is_iec559 || std::numeric_limits<Y1>::is_integer || GLM…
118 …GLM_STATIC_ASSERT(std::numeric_limits<Z1>::is_iec559 || std::numeric_limits<Z1>::is_integer || GLM…
119 …GLM_STATIC_ASSERT(std::numeric_limits<W1>::is_iec559 || std::numeric_limits<W1>::is_integer || GLM…
121 …GLM_STATIC_ASSERT(std::numeric_limits<X2>::is_iec559 || std::numeric_limits<X2>::is_integer || GLM…
122 …GLM_STATIC_ASSERT(std::numeric_limits<Y2>::is_iec559 || std::numeric_limits<Y2>::is_integer || GLM…
123 …GLM_STATIC_ASSERT(std::numeric_limits<Z2>::is_iec559 || std::numeric_limits<Z2>::is_integer || GLM…
124 …GLM_STATIC_ASSERT(std::numeric_limits<W2>::is_iec559 || std::numeric_limits<W2>::is_integer || GLM…
126 …GLM_STATIC_ASSERT(std::numeric_limits<X3>::is_iec559 || std::numeric_limits<X3>::is_integer || GLM…
127 …GLM_STATIC_ASSERT(std::numeric_limits<Y3>::is_iec559 || std::numeric_limits<Y3>::is_integer || GLM…
[all …]
/third_party/boost/libs/multiprecision/doc/
Dnumeric_limits_32_tables.qbk25 [table:integral_constants Integer types constants (`std::numeric_limits<T>::is_integer == true` && …
51 [table:integral_functions Integer types functions (`std::numeric_limits<T>::is_integer == true && s…
69 [table:float_functions Floating-point types constants (`std::numeric_limits<T>::is_integer==false &…
81 [table:float_functions Floating-point types functions (`std::numeric_limits<T>::is_integer == false…
/third_party/boost/boost/numeric/conversion/detail/
Dint_float_mixture.hpp38 typedef mpl::bool_< ::std::numeric_limits<S>::is_integer > S_int ;
39 typedef mpl::bool_< ::std::numeric_limits<T>::is_integer > T_int ;
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_formats.c130 const bool is_integer = isl_format_has_int_channel(format); in iris_is_format_supported() local
171 if (!is_integer) in iris_is_format_supported()
187 if (!is_integer) in iris_is_format_supported()
/third_party/boost/boost/sort/spreadsort/
Dspreadsort.hpp59 typename std::iterator_traits<RandomAccessIter>::value_type >::is_integer,
85 typename std::iterator_traits<RandomAccessIter>::value_type >::is_integer
/third_party/boost/libs/integer/test/
Dinteger_traits_test.cpp63 BOOST_TEST(traits::is_integer && true); in runtest()
65 BOOST_TEST(traits::is_integer); in runtest()
/third_party/boost/libs/locale/src/icu/
Dnumeric.cpp26 …te<typename V,int n=std::numeric_limits<V>::digits,bool integer=std::numeric_limits<V>::is_integer>
71 bool Int=std::numeric_limits<V>::is_integer,
100 if(!std::numeric_limits<ValueType>::is_integer) in use_parent()
342 if(value_limits::is_integer == casted_limits::is_integer) { in valid()
345 if(value_limits::is_integer) { // and casted is not in valid()
/third_party/boost/libs/container_hash/test/
Dhash_number_test.cpp35 boost::enable_if_c<boost::hash_detail::limits<T>::is_integer, in numeric_extra_tests() argument
52 boost::disable_if_c<boost::hash_detail::limits<T>::is_integer, in numeric_extra_tests() argument
104 if (limits::is_integer) in limits_test()
/third_party/protobuf/python/google/protobuf/pyext/
Dsafe_numerics.h136 static_assert(SourceLimits::is_integer, "argument must be integral"); in IsValidNumericCast()
138 static_assert(DestLimits::is_integer, "result must be integral"); in IsValidNumericCast()
/third_party/boost/libs/geometry/test/algorithms/
Dcentroid_multi.cpp32 void test_2d(bool is_integer = false) in test_2d() argument
49 if (! is_integer) in test_2d()
/third_party/boost/boost/
Dlimits.hpp59 BOOST_STATIC_CONSTANT(bool, is_integer = true);
112 BOOST_STATIC_CONSTANT(bool, is_integer = true);
/third_party/boost/boost/units/
Dlimits.hpp43 BOOST_STATIC_CONSTEXPR bool is_integer = std::numeric_limits<T>::is_integer; member in std::numeric_limits
/third_party/flutter/skia/src/ports/
DSkFontMgr_android_parser.h127 static_assert(std::numeric_limits<T>::is_integer, "T_must_be_integer"); in parse_non_negative_integer()
164 static_assert(std::numeric_limits<T>::is_integer, "T_must_be_integer"); in parse_fixed()
DSkFontMgr_config_parser.h138 static_assert(std::numeric_limits<T>::is_integer, "T_must_be_integer"); in parse_non_negative_integer()
176 static_assert(std::numeric_limits<T>::is_integer, "T_must_be_integer"); in parse_fixed()
/third_party/skia/src/ports/
DSkFontMgr_android_parser.h127 static_assert(std::numeric_limits<T>::is_integer, "T_must_be_integer"); in parse_non_negative_integer()
164 static_assert(std::numeric_limits<T>::is_integer, "T_must_be_integer"); in parse_fixed()
/third_party/boost/boost/safe_numerics/concept/
Dinteger.hpp19 std::numeric_limits<T>::is_integer,

123456