Home
last modified time | relevance | path

Searched full:digits (Results 1 – 25 of 639) sorted by relevance

12345678910>>...26

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/multiprecision/detail/functions/
H A Dconstants.hpp10 void calc_log2(T& num, unsigned digits) in calc_log2() argument
16 // String value with 1100 digits: in calc_log2()
33 if(digits < 3640) // 3640 binary digits ~ 1100 decimal digits in calc_log2()
56 ui_type limit = digits / 3 + 1; in calc_log2()
81 void calc_e(T& result, unsigned digits) in calc_e() argument
85 // 1100 digits in string form: in calc_e()
102 if(digits < 3640) // 3640 binary digits ~ 1100 decimal digits in calc_e()
110 eval_ldexp(lim, lim, digits); in calc_e()
129 void calc_pi(T& result, unsigned digits) in calc_pi() argument
134 // 1100 digits in string form: in calc_pi()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/detail/
H A Dlcast_precision.hpp63 limits::radix == 2 && limits::digits > 0
82 2UL + limits::digits * 30103UL / 100000UL
86 (limits::digits + 0UL < ULONG_MAX / 30103UL &&
120 // and UDT types for which digits (significand bits) is defined (not zero) in lcast_get_precision()
123 limits::radix == 2 && limits::digits > 0; in lcast_get_precision()
132 // limits::digits defined by the specialization. in lcast_get_precision()
134 unsigned long const digits = limits::digits; in lcast_get_precision()
135 unsigned long const precision = 2UL + digits * 30103UL / 100000UL; in lcast_get_precision()
139 digits < ULONG_MAX / 30103UL && in lcast_get_precision()
156 // so assume stream precision remains the default 6 decimal digits. in lcast_get_precision()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/numeric/conversion/detail/
H A Dis_subranged.hpp52 // numeric_limits<signed T>::digits + 1 == numeric_limits<unsigned T>::digits
54 … // The '+1' is required since numeric_limits<>::digits gives 1 bit less for signed integral types.
58 // if ( (numeric_limits<T>::digits+1) < (2*numeric_limits<S>::digits) )
62 typedef mpl::int_< ::std::numeric_limits<S>::digits > S_digits ;
63 typedef mpl::int_< ::std::numeric_limits<T>::digits > T_digits ;
65 // T is signed, so take digits+1
79 // An integral conversion of the same sign is subranged if digits(T) < digits(S).
81 typedef mpl::int_< ::std::numeric_limits<S>::digits > S_digits ;
82 typedef mpl::int_< ::std::numeric_limits<T>::digits > T_digits ;
108 typedef mpl::int_< ::std::numeric_limits<S>::digits > S_mantisa ;
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/math/special_functions/
H A Dnext.hpp76 boost::intmax_t shift = std::numeric_limits<T>::digits - ilogb(val) - 1; in normalize_value()
150 return ldexp(tools::min_value<T>(), tools::digits<T>() + 1); in calc_min_shifted()
158 return scalbn(tools::min_value<T>(), std::numeric_limits<T>::digits + 1); in calc_min_shifted()
202 return ldexp(float_next(T(ldexp(val, 2 * tools::digits<T>())), pol), -2 * tools::digits<T>()); in float_next_imp()
207 T diff = ldexp(T(1), expon - tools::digits<T>()); in float_next_imp()
249 …oat_next(T(scalbn(val, 2 * std::numeric_limits<T>::digits)), pol), -2 * std::numeric_limits<T>::di… in float_next_imp()
255 T diff = scalbn(T(1), expon - std::numeric_limits<T>::digits); in float_next_imp()
332 … return ldexp(float_prior(T(ldexp(val, 2 * tools::digits<T>())), pol), -2 * tools::digits<T>()); in float_prior_imp()
338 T diff = ldexp(T(1), expon - tools::digits<T>()); in float_prior_imp()
380 …at_prior(T(scalbn(val, 2 * std::numeric_limits<T>::digits)), pol), -2 * std::numeric_limits<T>::di… in float_prior_imp()
[all …]
/OK3568_Linux_fs/u-boot/lib/
H A Dvsprintf.c48 * Outputs from one to five digits depending on input.
85 /* Same with if's removed. Always emits five digits */
161 static const char digits[16] = "0123456789ABCDEF"; in number() local
169 /* locase = 0 or 0x20. ORing digits or letters with 'locase' in number()
170 * produces same digits or (maybe lowercased) letters */ in number()
200 tmp[i++] = (digits[do_div(num,base)] | locase); in number()
211 tmp[i++] = (digits[((unsigned char)num) & mask] in number()
247 /* actual digits of result */ in number()
300 /* (6 * 2 hex digits), 5 colons and trailing zero */ in mac_address_string()
319 /* (8 * 4 hex digits), 7 colons and trailing zero */ in ip6_addr_string()
[all …]
H A Dtiny-printf.c79 /* (6 * 2 hex digits), 5 colons and trailing zero */ in mac_address_string()
132 /* (4 * 3 decimal digits), 3 dots and trailing zero */ in ip4_addr_string()
136 int i, digits; in ip4_addr_string() local
139 digits = put_dec_trunc(temp, addr[i]) - temp; in ip4_addr_string()
140 /* reverse the digits in the quad */ in ip4_addr_string()
141 while (digits--) in ip4_addr_string()
142 *p++ = temp[digits]; in ip4_addr_string()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/functional/hash/detail/
H A Dhash_float.hpp93 template <typename Float, unsigned digits, unsigned max_exponent>
98 std::numeric_limits<Float>::digits == digits &&
163 v = ldexp(v, limits<std::size_t>::digits); in float_hash_impl2()
167 // ceiling(digits(T) * log2(radix(T))/ digits(size_t)) - 1; in float_hash_impl2()
169 = (limits<T>::digits * in float_hash_impl2()
171 + limits<std::size_t>::digits - 1) in float_hash_impl2()
172 / limits<std::size_t>::digits; in float_hash_impl2()
176 v = ldexp(v, limits<std::size_t>::digits); in float_hash_impl2()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/multiprecision/detail/
H A Dgeneric_interconvert.hpp54 eval_right_shift(t, std::numeric_limits<l_limb_type>::digits); in generic_interconvert()
59 unsigned shift = std::numeric_limits<l_limb_type>::digits; in generic_interconvert()
65 eval_right_shift(t, std::numeric_limits<l_limb_type>::digits); in generic_interconvert()
68 shift += std::numeric_limits<l_limb_type>::digits; in generic_interconvert()
102 eval_right_shift(t, std::numeric_limits<limb_type>::digits); in generic_interconvert()
107 unsigned shift = std::numeric_limits<limb_type>::digits; in generic_interconvert()
113 eval_right_shift(t, std::numeric_limits<limb_type>::digits); in generic_interconvert()
116 shift += std::numeric_limits<limb_type>::digits; in generic_interconvert()
182 static const int shift = std::numeric_limits<boost::intmax_t>::digits - 1; in generic_interconvert()
250 …if(std::numeric_limits<R>::digits == 0 || std::numeric_limits<R>::digits >= std::numeric_limits<R>… in safe_convert_to_float()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/libcxx/include/
H A Dlimits29 static constexpr int digits = 0;
154 static _LIBCPP_CONSTEXPR const int digits = 0;
209 …static _LIBCPP_CONSTEXPR const int digits = static_cast<int>(sizeof(type) * __CHAR_BIT__ - is_sig…
210 static _LIBCPP_CONSTEXPR const int digits10 = digits * 3 / 10;
212 … static _LIBCPP_CONSTEXPR const type __min = __libcpp_compute_min<type, digits, is_signed>::value;
262 static _LIBCPP_CONSTEXPR const int digits = 1;
310 static _LIBCPP_CONSTEXPR const int digits = __FLT_MANT_DIG__;
312 static _LIBCPP_CONSTEXPR const int max_digits10 = 2+(digits * 30103l)/100000l;
356 static _LIBCPP_CONSTEXPR const int digits = __DBL_MANT_DIG__;
358 static _LIBCPP_CONSTEXPR const int max_digits10 = 2+(digits * 30103l)/100000l;
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/libcxx/include/
H A Dlimits29 static constexpr int digits = 0;
154 static _LIBCPP_CONSTEXPR const int digits = 0;
209 …static _LIBCPP_CONSTEXPR const int digits = static_cast<int>(sizeof(type) * __CHAR_BIT__ - is_sig…
210 static _LIBCPP_CONSTEXPR const int digits10 = digits * 3 / 10;
212 … static _LIBCPP_CONSTEXPR const type __min = __libcpp_compute_min<type, digits, is_signed>::value;
262 static _LIBCPP_CONSTEXPR const int digits = 1;
310 static _LIBCPP_CONSTEXPR const int digits = __FLT_MANT_DIG__;
312 static _LIBCPP_CONSTEXPR const int max_digits10 = 2+(digits * 30103l)/100000l;
356 static _LIBCPP_CONSTEXPR const int digits = __DBL_MANT_DIG__;
358 static _LIBCPP_CONSTEXPR const int max_digits10 = 2+(digits * 30103l)/100000l;
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/
H A Dinteger.hpp126 (Bits-1 <= ::std::numeric_limits<long>::digits) +
127 (Bits-1 <= ::std::numeric_limits<int>::digits) +
128 (Bits-1 <= ::std::numeric_limits<short>::digits) +
129 (Bits-1 <= ::std::numeric_limits<signed char>::digits)
144 (Bits <= ::std::numeric_limits<unsigned long>::digits) +
145 (Bits <= ::std::numeric_limits<unsigned int>::digits) +
146 (Bits <= ::std::numeric_limits<unsigned short>::digits) +
147 (Bits <= ::std::numeric_limits<unsigned char>::digits));
157 (Bits <= ::std::numeric_limits<unsigned long>::digits) +
158 (Bits <= ::std::numeric_limits<unsigned int>::digits) +
[all …]
H A Drational.hpp120 && (std::numeric_limits<FromInt>::digits <= std::numeric_limits<ToInt>::digits)
413 // (1) From an unsigned type with more digits than IntType:
416 … typename boost::enable_if_c<(std::numeric_limits<T>::digits > std::numeric_limits<IntType>::digit… in is_safe_narrowing_conversion()
418 return val < (T(1) << std::numeric_limits<IntType>::digits); in is_safe_narrowing_conversion()
421 // (2) From a signed type with more digits than IntType, and IntType also signed:
424 … typename boost::enable_if_c<(std::numeric_limits<T>::digits > std::numeric_limits<IntType>::digit… in is_safe_narrowing_conversion()
430 …l < (T(1) << std::numeric_limits<IntType>::digits)) && (val >= -(T(1) << std::numeric_limits<IntTy… in is_safe_narrowing_conversion()
433 // (3) From a signed type with more digits than IntType, and IntType unsigned:
436 … typename boost::enable_if_c<(std::numeric_limits<T>::digits > std::numeric_limits<IntType>::digit… in is_safe_narrowing_conversion()
438 return (val < (T(1) << std::numeric_limits<IntType>::digits)) && (val >= 0); in is_safe_narrowing_conversion()
[all …]
H A Dcrc.hpp110 struct mask_uint_t< std::numeric_limits<unsigned char>::digits >;
114 struct mask_uint_t< std::numeric_limits<unsigned short>::digits >;
119 struct mask_uint_t< std::numeric_limits<unsigned int>::digits >;
124 struct mask_uint_t< std::numeric_limits<unsigned long>::digits >;
361 struct mask_uint_t< std::numeric_limits<unsigned char>::digits >
362 : high_uint_t< std::numeric_limits<unsigned char>::digits >
364 typedef high_uint_t<std::numeric_limits<unsigned char>::digits>
384 struct mask_uint_t< std::numeric_limits<unsigned short>::digits >
385 : high_uint_t< std::numeric_limits<unsigned short>::digits >
387 typedef high_uint_t<std::numeric_limits<unsigned short>::digits>
[all …]
/OK3568_Linux_fs/kernel/arch/m68k/fpsp040/
H A Dbindec.S44 | LEN is the number of digits to be displayed. The
45 | k-factor can dictate either the total number of digits,
46 | if it is a positive number, or the number of digits
54 | of decimal places needed to insure LEN integer digits
69 | significant digits. The excess digits are collected
85 | A13. Check for LEN digits.
86 | If the int operation results in more than LEN digits,
87 | or less than LEN -1 digits, adjust ILOG and repeat from
97 | The bcd digits are stored in the correct position in
102 | digits are stored in the final string.
[all …]
H A Ddecbin.S27 | digits, rather than 1 integer and 16 fraction digits.
32 | The mantissa digits will be converted with the decimal point
127 | 4. Subtract 16 to compensate for interpreting the mant as all integer digits.
128 | (i.e., all digits assumed left of the decimal point.)
144 movel #EDIGITS,%d2 |# of nibbles (digits) in fraction part
145 moveql #ESTRT,%d3 |counter to pick up digits
157 dbf %d2,e_gd |if we have used all 3 digits, exit loop
174 | (i.e., all digits assumed left of the decimal point.)
207 moveql #FSTRT,%d3 |counter to pick up digits
208 moveql #FNIBS,%d2 |reset number of digits per a0 ptr
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/include/
H A Dfloat.h35 /* Number of base-FLT_RADIX digits in the significand, p. */
43 /* Number of decimal digits, q, such that any floating-point number with q
44 decimal digits can be rounded into a floating-point number with p radix b
45 digits and back again without change to the q decimal digits,
200 /* Number of decimal digits, n, such that any floating-point number in the
201 widest supported floating type with pmax radix b digits can be rounded
202 to a floating-point number with n decimal digits and back again without
242 /* Maximum finite positive value with MANT_DIG digits in the
254 /* Number of decimal digits for which conversions between decimal
449 /* Number of base-FLT_RADIX digits in the significand, p. */
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/include/
H A Dfloat.h35 /* Number of base-FLT_RADIX digits in the significand, p. */
43 /* Number of decimal digits, q, such that any floating-point number with q
44 decimal digits can be rounded into a floating-point number with p radix b
45 digits and back again without change to the q decimal digits,
200 /* Number of decimal digits, n, such that any floating-point number in the
201 widest supported floating type with pmax radix b digits can be rounded
202 to a floating-point number with n decimal digits and back again without
242 /* Maximum finite positive value with MANT_DIG digits in the
254 /* Number of decimal digits for which conversions between decimal
449 /* Number of base-FLT_RADIX digits in the significand, p. */
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/multiprecision/cpp_int/
H A Dcpp_int_config.hpp32 1 + std::numeric_limits<boost::long_long_type>::digits == N,
35 1 + std::numeric_limits<long>::digits == N,
38 1 + std::numeric_limits<int>::digits == N,
50 std::numeric_limits<boost::ulong_long_type>::digits == N,
53 std::numeric_limits<unsigned long>::digits == N,
56 std::numeric_limits<unsigned int>::digits == N,
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/
H A Dlimits140 // The fraction 643/2136 approximates log10(2) to 7 significant digits.
208 /** The number of @c radix digits that be represented without change: for
210 floating types, the number of @c radix digits in the mantissa. */
211 static _GLIBCXX_USE_CONSTEXPR int digits = 0;
213 /** The number of base 10 digits that can be represented without change. */
217 /** The number of base 10 digits required to ensure that values which
398 static _GLIBCXX_USE_CONSTEXPR int digits = 1;
468 static _GLIBCXX_USE_CONSTEXPR int digits = __glibcxx_digits (char);
535 static _GLIBCXX_USE_CONSTEXPR int digits = __glibcxx_digits (signed char);
605 static _GLIBCXX_USE_CONSTEXPR int digits
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/
H A Dlimits140 // The fraction 643/2136 approximates log10(2) to 7 significant digits.
208 /** The number of @c radix digits that be represented without change: for
210 floating types, the number of @c radix digits in the mantissa. */
211 static _GLIBCXX_USE_CONSTEXPR int digits = 0;
213 /** The number of base 10 digits that can be represented without change. */
217 /** The number of base 10 digits required to ensure that values which
398 static _GLIBCXX_USE_CONSTEXPR int digits = 1;
468 static _GLIBCXX_USE_CONSTEXPR int digits = __glibcxx_digits (char);
535 static _GLIBCXX_USE_CONSTEXPR int digits = __glibcxx_digits (signed char);
605 static _GLIBCXX_USE_CONSTEXPR int digits
[all …]
/OK3568_Linux_fs/kernel/drivers/isdn/mISDN/
H A Ddsp_dtmf.c130 dsp->dtmf.digits[0] = '\0'; in dsp_dtmf_goertzel_decode()
155 return dsp->dtmf.digits; in dsp_dtmf_goertzel_decode()
179 return dsp->dtmf.digits; in dsp_dtmf_goertzel_decode()
298 if ((strlen(dsp->dtmf.digits) + 1) in dsp_dtmf_goertzel_decode()
299 < sizeof(dsp->dtmf.digits)) { in dsp_dtmf_goertzel_decode()
300 dsp->dtmf.digits[strlen( in dsp_dtmf_goertzel_decode()
301 dsp->dtmf.digits) + 1] = '\0'; in dsp_dtmf_goertzel_decode()
302 dsp->dtmf.digits[strlen( in dsp_dtmf_goertzel_decode()
303 dsp->dtmf.digits)] = what; in dsp_dtmf_goertzel_decode()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/predef/
H A Dmake.h20 macros which are composed version, revision, and patch digits.
24 hexadecimal digits, and "`BOOST_PREDEF_MAKE_10`" for decimal digits.
25 * The format of the vendor version number. Where "`V`" indicates the version digits,
26 "`R`" indicates the revision digits, "`P`" indicates the patch digits, and "`0`"
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/math/constants/
H A Dcalculate_constants.hpp171 T n = 3 + (M ? (std::min)(M, tools::digits<T>()) : tools::digits<T>()) / 4; in compute()
172 T lim = M ? ldexp(T(1), 1 - (std::min)(M, tools::digits<T>())) : tools::epsilon<T>(); in compute()
617 T lim = N ? ldexp(T(1), 1 - (std::min)(N, tools::digits<T>())) : tools::epsilon<T>(); in compute()
619 { // three to five decimal digits per term, so 40 should be plenty for 100 decimal digits. in compute()
669 T lim = N ? ldexp(T(1), 1 - (std::min)(N, tools::digits<T>())) : tools::epsilon<T>(); in compute()
691 T zeta_polynomial_series(T s, T sc, int digits) in zeta_polynomial_series() argument
702 int n = (digits * 19) / 53; in zeta_polynomial_series()
725 T khinchin(int digits) in khinchin() argument
730 T lim = ldexp(T(1), 1-digits); in khinchin()
742 term = (zeta_polynomial_series(T(2 * n), T(1 - T(2 * n)), digits) - 1) * factor / n; in khinchin()
[all …]
H A Dconstants.hpp35 // To permit other calculations at about 100 decimal digits with some UDT,
38 // However, some compilers do not accept decimal digits strings as long as this.
42 // the other two parameters may only contain decimal digits (and sign and decimal point),
47 // since even a long double might not have enough digits).
68 // Max number of binary digits in the string representations
214 static BOOST_MATH_THREAD_LOCAL int digits = 0;\
216 int current_digits = boost::math::tools::digits<T>();\
217 if(digits != current_digits)\
220 digits = current_digits; \
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/math/policies/
H A Dpolicy.hpp36 BOOST_MATH_CONSTEXPR int digits(BOOST_MATH_EXPLICIT_TEMPLATE_TYPE(T)) BOOST_NOEXCEPT;
772 digits2< ::std::numeric_limits<Real>::digits>,
800 …(::std::numeric_limits<Real>::is_specialized == 0) || (::std::numeric_limits<Real>::digits == 0)));
804 …((::std::numeric_limits<Real>::is_specialized == 0) || (::std::numeric_limits<Real>::digits == 0)),
808 ((::std::numeric_limits<Real>::digits <= precision_type::value)
811 digits2< ::std::numeric_limits<Real>::digits>,
818 typedef mpl::int_< ::std::numeric_limits<Real>::digits> digits_t;
827 digits2< ::std::numeric_limits<Real>::digits>,
864 return tools::digits<T>(); in digits_imp()
870 inline BOOST_MATH_CONSTEXPR int digits(BOOST_MATH_EXPLICIT_TEMPLATE_TYPE(T)) BOOST_NOEXCEPT in digits() function
[all …]

12345678910>>...26