Home
last modified time | relevance | path

Searched refs:ui_type (Results 1 – 15 of 15) sorted by relevance

/third_party/boost/boost/multiprecision/detail/functions/
Dconstants.hpp12 typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type; in calc_log2() typedef
50 num = static_cast<ui_type>(1180509120uL); in calc_log2()
52 denom = static_cast<ui_type>(1277337600uL); in calc_log2()
53 next_term = static_cast<ui_type>(120uL); in calc_log2()
56 ui_type limit = digits / 3 + 1; in calc_log2()
58 for (ui_type n = 6; n < limit; ++n) in calc_log2()
60 temp = static_cast<ui_type>(2); in calc_log2()
61 eval_multiply(temp, ui_type(2 * n)); in calc_log2()
62 eval_multiply(temp, ui_type(2 * n + 1)); in calc_log2()
72 eval_multiply(denom, ui_type(4)); in calc_log2()
[all …]
Dtrig.hpp24 typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type; in hyp0F1() typedef
35 eval_add(result, ui_type(1)); in hyp0F1()
40 tol = ui_type(1); in hyp0F1()
86 typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type; in eval_sin() typedef
127 t = ui_type(2); in eval_sin()
133 result = ui_type(0); in eval_sin()
168 result = ui_type(0); in eval_sin()
172 result = ui_type(1); in eval_sin()
218 eval_multiply(t2, result, ui_type(3)); in eval_sin()
221 eval_multiply(t, ui_type(4)); in eval_sin()
[all …]
Dpow.hpp74 typedef typename make_unsigned<U>::type ui_type; in pow_imp() typedef
81 pow_imp(denom, t, static_cast<ui_type>(-p), mpl::false_()); in pow_imp()
85 pow_imp(result, t, static_cast<ui_type>(p), mpl::false_()); in pow_imp()
103 typedef typename mpl::front<typename T::unsigned_types>::type ui_type; in hyp0F0() typedef
111 eval_add(H0F0, x_pow_n_div_n_fact, ui_type(1)); in hyp0F0()
118 ui_type n; in hyp0F0()
202 typedef typename boost::multiprecision::detail::canonical<unsigned, T>::type ui_type; in eval_exp() typedef
219 result = ui_type(0u); in eval_exp()
226 result = ui_type(1); in eval_exp()
247 result = ui_type(1); in eval_exp()
[all …]
/third_party/boost/boost/multiprecision/detail/
Dfloat_string_cvt.hpp56 typedef typename mpl::front<typename Backend::unsigned_types>::type ui_type; in convert_to_string() typedef
75 if (b.compare(ui_type(0)) < 0) in convert_to_string()
89 isneg = b.compare(ui_type(0)) < 0; in convert_to_string()
94 ten = ui_type(10); in convert_to_string()
117 if (t.compare(ui_type(1)) < 0) in convert_to_string()
119 eval_multiply(t, ui_type(10)); in convert_to_string()
122 else if (t.compare(ui_type(10)) >= 0) in convert_to_string()
124 eval_divide(t, ui_type(10)); in convert_to_string()
128 ui_type cdigit; in convert_to_string()
155 if ((cdigit == 5) && (t.compare(ui_type(0)) == 0)) in convert_to_string()
[all …]
Dbitscan.hpp95 typedef typename make_unsigned<Unsigned>::type ui_type; in find_lsb() typedef
115 return find_lsb(static_cast<ui_type>(mask), tag_type()); in find_lsb()
121 typedef typename make_unsigned<Unsigned>::type ui_type; in find_msb() typedef
141 return find_msb(static_cast<ui_type>(mask), tag_type()); in find_msb()
215 typedef typename make_unsigned<Unsigned>::type ui_type; in find_lsb() typedef
233 return find_lsb(static_cast<ui_type>(mask), tag_type()); in find_lsb()
238 typedef typename make_unsigned<Unsigned>::type ui_type; in find_msb() typedef
256 return find_msb(static_cast<ui_type>(mask), tag_type()); in find_msb()
270 typedef typename make_unsigned<Unsigned>::type ui_type; in find_lsb() typedef
282 return find_lsb(static_cast<ui_type>(mask), tag_type()); in find_lsb()
[all …]
Dinteger_ops.hpp109 typedef typename mpl::front<typename B::unsigned_types>::type ui_type; in eval_lcm() typedef
115 result = static_cast<ui_type>(0); in eval_lcm()
297 …ypedef typename boost::multiprecision::detail::canonical<unsigned char, double_type>::type ui_type; in eval_powm() typedef
302 x = ui_type(1u); in eval_powm()
313 eval_right_shift(b, ui_type(1)); in eval_powm()
323 …ypedef typename boost::multiprecision::detail::canonical<unsigned char, double_type>::type ui_type; in eval_powm() typedef
341 x = ui_type(1u); in eval_powm()
352 eval_right_shift(b, ui_type(1)); in eval_powm()
362 …ypedef typename boost::multiprecision::detail::canonical<unsigned char, double_type>::type ui_type; in eval_powm() typedef
371 x = ui_type(1u); in eval_powm()
[all …]
Dgeneric_interconvert.hpp143 typedef typename canonical<unsigned char, To>::type ui_type; in generic_interconvert() typedef
159 to = ui_type(0); in generic_interconvert()
177 to = ui_type(0); in generic_interconvert()
205 to = ui_type(0); in generic_interconvert()
399 typedef typename mpl::front<typename To::unsigned_types>::type ui_type; in generic_interconvert_float2rational() typedef
414 denom = ui_type(1u); in generic_interconvert_float2rational()
430 typedef typename mpl::front<typename To::unsigned_types>::type ui_type; in generic_interconvert_float2rational() typedef
437 to = ui_type(0u); in generic_interconvert_float2rational()
453 denom = ui_type(Radix); in generic_interconvert_float2rational()
Ddefault_ops.hpp790 typedef typename mpl::front<typename T::unsigned_types>::type ui_type; in eval_increment() typedef
791 eval_add(val, static_cast<ui_type>(1u)); in eval_increment()
796 typedef typename mpl::front<typename T::unsigned_types>::type ui_type; in eval_decrement() typedef
797 eval_subtract(val, static_cast<ui_type>(1u)); in eval_decrement()
817 typedef typename mpl::front<typename T::unsigned_types>::type ui_type; in eval_is_zero() typedef
818 return val.compare(static_cast<ui_type>(0)) == 0; in eval_is_zero()
823 typedef typename mpl::front<typename T::unsigned_types>::type ui_type; in eval_get_sign() typedef
824 return val.compare(static_cast<ui_type>(0)); in eval_get_sign()
1218 typedef typename boost::multiprecision::detail::canonical<unsigned, T>::type ui_type; in eval_fdim() typedef
1219 const ui_type zero = 0u; in eval_fdim()
[all …]
/third_party/boost/boost/multiprecision/
Dcomplex_adaptor.hpp94 typedef typename mpl::front<unsigned_types>::type ui_type; in operator =() typedef
96 m_imag = ui_type(0u); in operator =()
108 typedef typename mpl::front<unsigned_types>::type ui_type; in operator =() typedef
109 ui_type zero = 0u; in operator =()
535 typedef typename mpl::front<typename Backend::unsigned_types>::type ui_type; in eval_log10() typedef
538 ten = ui_type(10); in eval_log10()
615 typedef typename mpl::front<typename Backend::unsigned_types>::type ui_type; in eval_acos() typedef
620 t1 = static_cast<ui_type>(1u); in eval_acos()
630 typedef typename mpl::front<typename Backend::unsigned_types>::type ui_type; in eval_atan() typedef
631 ui_type one = (ui_type)1u; in eval_atan()
[all …]
Dcpp_bin_float.hpp259 typedef typename mpl::front<unsigned_types>::type ui_type; in assign_float() typedef
260 m_data = static_cast<ui_type>(0u); in assign_float()
319 typedef typename mpl::front<unsigned_types>::type ui_type; in assign_float() typedef
320 m_data = static_cast<ui_type>(0u); in assign_float()
387 typedef typename mpl::front<unsigned_types>::type ui_type; in assign_float() typedef
388 m_data = static_cast<ui_type>(0u); in assign_float()
439 typedef typename make_unsigned<I>::type ui_type; in operator =() typedef
440ui_type fi = static_cas… in operator =()
441 typedef typename boost::multiprecision::detail::canonical<ui_type, rep_type>::type ar_type; in operator =()
991 typedef typename make_unsigned<S>::type ui_type; in eval_multiply() typedef
[all …]
Dmpfi.hpp919 …me boost::multiprecision::detail::canonical<unsigned, mpfi_float_backend<Digits10> >::type ui_type; in eval_pow() typedef
926 result = ui_type(1); in eval_pow()
930 result = ui_type(0); in eval_pow()
942 t1 = ui_type(1); in eval_pow()
/third_party/boost/boost/multiprecision/cpp_int/
Dlimits.hpp26 …ultiprecision::unsigned_magnitude, boost::multiprecision::unchecked>, ExpressionTemplates> ui_type; in get_min() typedef
32 … val = -result_type(~ui_type(0)); in get_min()
42 …ultiprecision::unsigned_magnitude, boost::multiprecision::unchecked>, ExpressionTemplates> ui_type; in get_min() typedef
43 … val = -result_type(~ui_type(0)); in get_min()
95 …ultiprecision::unsigned_magnitude, boost::multiprecision::unchecked>, ExpressionTemplates> ui_type; in get_max() typedef
101 … val = ~ui_type(0); in get_max()
111 …ultiprecision::unsigned_magnitude, boost::multiprecision::unchecked>, ExpressionTemplates> ui_type; in get_max() typedef
112 … val = ~ui_type(0); in get_max()
122 …on::unsigned_magnitude, boost::multiprecision::unchecked, Allocator>, ExpressionTemplates> ui_type; in get_max() typedef
128 … val = ~ui_type(0); in get_max()
[all …]
Dcomparison.hpp229 typedef typename make_unsigned<S>::type ui_type; in eval_eq() typedef
237 return *a.limbs() == static_cast<ui_type>(b); in eval_eq()
293 typedef typename make_unsigned<S>::type ui_type; in eval_lt() typedef
301 return *a.limbs() < static_cast<ui_type>(b); in eval_lt()
357 typedef typename make_unsigned<S>::type ui_type; in eval_gt() typedef
365 return *a.limbs() > static_cast<ui_type>(b); in eval_gt()
/third_party/boost/boost/graph/
Drandom.hpp83 typedef boost::uniform_int< degree_size_type > ui_type; in random_out_edge() typedef
84 ui_type ui(0, out_degree(src, g) - 1); in random_out_edge()
85 boost::variate_generator< RandomNumGen&, ui_type > variate(gen, ui); in random_out_edge()
/third_party/boost/libs/multiprecision/doc/
Dmultiprecision.qbk4949 returns `cb.compare(ui_type(0)) == 0`, where `ui_type` is `ui_type` is
4953 returns `cb.compare(ui_type(0))`, where `ui_type` is `ui_type` is
5042 When not provided, does the equivalent of `eval_add(b, static_cast<ui_type>(1u))`.
5043 Where `ui_type` is `typename mpl::front<typename B::unsigned_types>::type`.][[space]]]
5045 When not provided, does the equivalent of `eval_subtract(b, static_cast<ui_type>(1u))`.
5046 Where `ui_type` is `typename mpl::front<typename B::unsigned_types>::type`.][[space]]]