/third_party/boost/boost/math/filters/ |
D | daubechies.hpp | 20 …:digits, 0.70710678118654752440084436210484903928483593768847403658833986899536623923), BOOST_MATH… in daubechies_scaling_filter() 23 …digits, 0.48296291314453414337487159986444868381695241950420227520117153815521160699), BOOST_MATH_… in daubechies_scaling_filter() 26 …digits, 0.33267055295008261599851158913900563001292339924506835970847057855179372371), BOOST_MATH_… in daubechies_scaling_filter() 29 …digits, 0.23037781330889650086329118304407085000161524824830929779109684402827164374), BOOST_MATH_… in daubechies_scaling_filter() 32 …digits, 0.16010239797419291448072374802042073365054412462505783277256992020754721449), BOOST_MATH_… in daubechies_scaling_filter() 35 …digits, 0.11154074335010946362132391724092343904253959198442167590823604579765159644), BOOST_MATH_… in daubechies_scaling_filter() 38 …digits, 0.077852054085009179019963521957893748379183052927955684387029371799629765558), BOOST_MATH… in daubechies_scaling_filter() 41 …digits, 0.054415842243104009955009405202999355035995542947330503977292808677193622648), BOOST_MATH… in daubechies_scaling_filter() 44 …digits, 0.038077947363878346588697658879551184487717144962784174766471924848268047975), BOOST_MATH… in daubechies_scaling_filter() 47 …digits, 0.026670057900555553586617448771308582771924982908512899327799757762165073565), BOOST_MATH… in daubechies_scaling_filter() [all …]
|
/third_party/boost/libs/multiprecision/performance/ |
D | sf_performance-msvc-10.log | 14 Time for mpfr_class (50 digits) = 6.48063 seconds 15 Total allocations for mpfr_class (50 digits) = 3946031 16 Time for mpreal (50 digits) = 9.98151 seconds 17 Total allocations for mpreal (50 digits) = 13223017 24 Time for mpfr_class (100 digits) = 9.80571 seconds 25 Total allocations for mpfr_class (100 digits) = 5447348 26 Time for mpreal (100 digits) = 13.7021 seconds 27 Total allocations for mpreal (100 digits) = 16671065 35 Time for mpfr_class (50 digits) = 0.00935629 seconds 36 Total allocations for mpfr_class (50 digits) = 12976 [all …]
|
/third_party/abseil-cpp/absl/strings/ |
D | numbers.cc | 138 uint32_t digits; in FastIntToBuffer() local 146 digits = i / 100000000; // 100,000,000 in FastIntToBuffer() 147 i -= digits * 100000000; in FastIntToBuffer() 148 PutTwoDigits(digits, buffer); in FastIntToBuffer() 151 digits = i / 1000000; // 1,000,000 in FastIntToBuffer() 152 i -= digits * 1000000; in FastIntToBuffer() 153 PutTwoDigits(digits, buffer); in FastIntToBuffer() 156 digits = i / 10000; // 10,000 in FastIntToBuffer() 157 i -= digits * 10000; in FastIntToBuffer() 158 PutTwoDigits(digits, buffer); in FastIntToBuffer() [all …]
|
/third_party/python/Modules/_decimal/tests/ |
D | randfloat.py | 33 digits, exponent = n, e 34 while digits < 10**20: 35 s = '{}e{}'.format(digits, exponent) 38 s = '{}e{}'.format(digits * 10**40, exponent - 40) 40 digits *= 2 44 digits, exponent = n, e 45 while digits < 10**20: 46 s = '{}e{}'.format(digits, exponent) 49 s = '{}e{}'.format(digits * 10**40, exponent - 40) 51 digits *= 5 [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | numbers.cc | 148 uint32_t digits; in FastIntToBuffer() local 156 digits = i / 100000000; // 100,000,000 in FastIntToBuffer() 157 i -= digits * 100000000; in FastIntToBuffer() 158 PutTwoDigits(digits, buffer); in FastIntToBuffer() 161 digits = i / 1000000; // 1,000,000 in FastIntToBuffer() 162 i -= digits * 1000000; in FastIntToBuffer() 163 PutTwoDigits(digits, buffer); in FastIntToBuffer() 166 digits = i / 10000; // 10,000 in FastIntToBuffer() 167 i -= digits * 10000; in FastIntToBuffer() 168 PutTwoDigits(digits, buffer); in FastIntToBuffer() [all …]
|
/third_party/boost/boost/multiprecision/detail/functions/ |
D | constants.hpp | 10 void calc_log2(T& num, unsigned digits) in calc_log2() argument 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 102 if (digits < 3640) // 3640 binary digits ~ 1100 decimal digits in calc_e() 110 eval_ldexp(lim, lim, digits); in calc_e() 130 void calc_pi(T& result, unsigned digits) in calc_pi() argument 152 if (digits < 3640) // 3640 binary digits ~ 1100 decimal digits in calc_pi() 169 eval_ldexp(lim, lim, -(int)digits); in calc_pi() 246 static BOOST_MP_THREAD_LOCAL long digits = 0; local [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | decNumber.cpp | 389 dn->digits=decGetDigits(dn->lsu, static_cast<int32_t>(up - dn->lsu)); in uprv_decNumberFromUInt32() 409 if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0) ; /* bad */ in uprv_decNumberToInt32() 422 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in uprv_decNumberToInt32() 444 if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0 in uprv_decNumberToUInt32() 458 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in uprv_decNumberToUInt32() 603 if (d>set->digits-1) { in uprv_decNumberFromString() 607 if (d>set->digits) break; in uprv_decNumberFromString() 676 if (d<=set->digits) res=dn->lsu; /* fits into supplied decNumber */ in uprv_decNumberFromString() 719 dn->digits=d; in uprv_decNumberFromString() 722 if (d>set->digits) { in uprv_decNumberFromString() [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | decNumber.cpp | 389 dn->digits=decGetDigits(dn->lsu, static_cast<int32_t>(up - dn->lsu)); in uprv_decNumberFromUInt32() 409 if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0) ; /* bad */ in uprv_decNumberToInt32() 422 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in uprv_decNumberToInt32() 444 if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0 in uprv_decNumberToUInt32() 458 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in uprv_decNumberToUInt32() 603 if (d>set->digits-1) { in uprv_decNumberFromString() 607 if (d>set->digits) break; in uprv_decNumberFromString() 676 if (d<=set->digits) res=dn->lsu; /* fits into supplied decNumber */ in uprv_decNumberFromString() 719 dn->digits=d; in uprv_decNumberFromString() 722 if (d>set->digits) { in uprv_decNumberFromString() [all …]
|
/third_party/icu/icu4c/source/i18n/ |
D | decNumber.cpp | 389 dn->digits=decGetDigits(dn->lsu, static_cast<int32_t>(up - dn->lsu)); in uprv_decNumberFromUInt32() 409 if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0) ; /* bad */ in uprv_decNumberToInt32() 422 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in uprv_decNumberToInt32() 444 if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0 in uprv_decNumberToUInt32() 458 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in uprv_decNumberToUInt32() 603 if (d>set->digits-1) { in uprv_decNumberFromString() 607 if (d>set->digits) break; in uprv_decNumberFromString() 676 if (d<=set->digits) res=dn->lsu; /* fits into supplied decNumber */ in uprv_decNumberFromString() 719 dn->digits=d; in uprv_decNumberFromString() 722 if (d>set->digits) { in uprv_decNumberFromString() [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | decNumber.cpp | 389 dn->digits=decGetDigits(dn->lsu, static_cast<int32_t>(up - dn->lsu)); in uprv_decNumberFromUInt32() 409 if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0) ; /* bad */ in uprv_decNumberToInt32() 422 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in uprv_decNumberToInt32() 444 if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0 in uprv_decNumberToUInt32() 458 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in uprv_decNumberToUInt32() 603 if (d>set->digits-1) { in uprv_decNumberFromString() 607 if (d>set->digits) break; in uprv_decNumberFromString() 676 if (d<=set->digits) res=dn->lsu; /* fits into supplied decNumber */ in uprv_decNumberFromString() 719 dn->digits=d; in uprv_decNumberFromString() 722 if (d>set->digits) { in uprv_decNumberFromString() [all …]
|
/third_party/python/Lib/test/ |
D | test_strtod.py | 128 digits, exponent = n, e 129 while digits < 10**20: 130 s = '{}e{}'.format(digits, exponent) 133 s = '{}e{}'.format(digits * 10**40, exponent - 40) 135 digits *= 2 139 digits, exponent = n, e 140 while digits < 10**20: 141 s = '{}e{}'.format(digits, exponent) 144 s = '{}e{}'.format(digits * 10**40, exponent - 40) 146 digits *= 5 [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
D | Utils.java | 62 return String.valueOf(zh.digits[(int)n]); in chineseNumber() 67 char[] digits = String.valueOf(n).toCharArray(); in chineseNumber() local 75 for (int i = digits.length, u = -1, l = -1; --i >= 0;) { in chineseNumber() 90 int d = digits[i] - '0'; in chineseNumber() 98 buf[--x] = zh.digits[0]; in chineseNumber() 104 buf[--x] = zh.digits[d]; in chineseNumber() 124 if (buf[i] == zh.digits[0] && !last) { in chineseNumber() 143 if (buf[i+1] != '*' && buf[i+1] != zh.digits[0]) { in chineseNumber() 144 buf[i] = zh.digits[0]; in chineseNumber() 156 if (buf[i] != zh.digits[2]) continue; in chineseNumber() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/impl/ |
D | Utils.java | 66 return String.valueOf(zh.digits[(int)n]); in chineseNumber() 71 char[] digits = String.valueOf(n).toCharArray(); in chineseNumber() local 79 for (int i = digits.length, u = -1, l = -1; --i >= 0;) { in chineseNumber() 94 int d = digits[i] - '0'; in chineseNumber() 102 buf[--x] = zh.digits[0]; in chineseNumber() 108 buf[--x] = zh.digits[d]; in chineseNumber() 128 if (buf[i] == zh.digits[0] && !last) { in chineseNumber() 147 if (buf[i+1] != '*' && buf[i+1] != zh.digits[0]) { in chineseNumber() 148 buf[i] = zh.digits[0]; in chineseNumber() 160 if (buf[i] != zh.digits[2]) continue; in chineseNumber() [all …]
|
/third_party/boost/boost/random/detail/ |
D | uniform_int_float.hpp | 38 (std::numeric_limits<boost::uintmax_t>::digits < 39 std::numeric_limits<base_result>::digits)? 40 std::numeric_limits<boost::uintmax_t>::digits : 41 std::numeric_limits<base_result>::digits 51 std::size_t digits = std::numeric_limits<result_type>::digits; in BOOST_PREVENT_MACRO_SUBSTITUTION() local 52 if(detail::generator_bits<URNG>::value() < digits) { in BOOST_PREVENT_MACRO_SUBSTITUTION() 53 digits = detail::generator_bits<URNG>::value(); in BOOST_PREVENT_MACRO_SUBSTITUTION() 55 return (result_type(2) << (digits - 1)) - 1; in BOOST_PREVENT_MACRO_SUBSTITUTION()
|
/third_party/boost/boost/detail/ |
D | numeric_traits.hpp | 81 BOOST_STATIC_CONSTANT(int, digits = std::numeric_limits<T>::digits); 88 BOOST_STATIC_CONSTANT(int, digits = ( 89 sizeof(T) * std::numeric_limits<unsigned char>::digits 110 || (int(x::digits) + 1 >= digit_traits<boost::intmax_t>::digits))), 114 (int(x::digits) + 1 < digit_traits<signed int>::digits), 118 (int(x::digits) + 1 < digit_traits<signed long>::digits),
|
/third_party/boost/libs/multiprecision/test/ |
D | test_unchecked_cpp_int.cpp | 26 unsigned digits; in generate_random() local 27 …f (std::numeric_limits<T>::is_bounded && (bits_wanted == (unsigned)std::numeric_limits<T>::digits)) in generate_random() 30 digits = std::numeric_limits<T>::digits; in generate_random() 35 digits = bits_wanted; in generate_random() 38 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random() 42 unsigned terms_needed = digits / bits_per_r_val + 1; in generate_random() 60 for (unsigned i = 30; i < std::numeric_limits<test_type>::digits; ++i) in test() 62 … (unsigned j = std::numeric_limits<test_type>::digits - i - 1; j < std::numeric_limits<test_type>:… in test() 74 for (unsigned s = 1; s < std::numeric_limits<test_type>::digits; ++s) in test()
|
D | test_cpp_int_left_shift.cpp | 35 unsigned digits; in generate_random() local 36 …f (std::numeric_limits<T>::is_bounded && (bits_wanted == (unsigned)std::numeric_limits<T>::digits)) in generate_random() 39 digits = std::numeric_limits<T>::digits; in generate_random() 44 digits = bits_wanted; in generate_random() 47 unsigned bits_per_r_val = std::numeric_limits<random_type>::digits - 1; in generate_random() 51 unsigned terms_needed = digits / bits_per_r_val + 1; in generate_random() 67 mask <<= std::numeric_limits<T>::digits; in test_value() 70 for (unsigned i = 0; i <= std::numeric_limits<T>::digits + 2; ++i) in test_value() 91 test_value(generate_random<mp_type>(std::numeric_limits<mp_type>::digits)); in test()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | DateNumberFormat.java | 38 private char[] digits; field in DateNumberFormat 93 digits = new char[10]; in initialize() 94 System.arraycopy(elems, 0, digits, 0, 10); in initialize() 95 zeroDigit = digits[0]; in initialize() 131 if (digits == null) { in setZeroDigit() 132 digits = new char[10]; in setZeroDigit() 134 digits[0] = zero; in setZeroDigit() 136 digits[i] = (char)(zero+i); in setZeroDigit() 141 return digits.clone(); in getDigits() 168 decimalBuf[index] = digits[(number % 10)]; in format() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | DateNumberFormat.java | 34 private char[] digits; field in DateNumberFormat 89 digits = new char[10]; in initialize() 90 System.arraycopy(elems, 0, digits, 0, 10); in initialize() 91 zeroDigit = digits[0]; in initialize() 127 if (digits == null) { in setZeroDigit() 128 digits = new char[10]; in setZeroDigit() 130 digits[0] = zero; in setZeroDigit() 132 digits[i] = (char)(zero+i); in setZeroDigit() 137 return digits.clone(); in getDigits() 164 decimalBuf[index] = digits[(number % 10)]; in format() [all …]
|
/third_party/boost/libs/test/doc/test_output/ |
D | logging_floating_point.qbk | 10 …hat floating-point numbers are displayed by the __UTF__ with an excessive number of decimal digits. 11 However the number of digits shown is chosen to avoid apparently nonsensical displays like `[1.0000… 13 the default precision for float of just 6 decimal digits, given by 15 digits displayed is that proposed for a future C++ Standard, 17 significant decimal digits value], to be called `std::numeric_limits::max_digits10();`. 18 For 32-bit floats, 9 decimal digits are needed to ensure a single bit change produces a different d… 21 So a much more helpful display using 9 decimal digits is thus: 25 …_IEEE754__ 32-bit float values - 9 decimal digits are shown. For 64-bit __IEEE754__ double - 17 de… 26 __IEEE754__ extended long double using 80-bit - 21 decimal digits. For __IEEE754__ quadruple long d… 27 extended long double 128-bit - 36 decimal digits. For floating-point types, a convenient formula to… [all …]
|
/third_party/node/deps/cares/src/lib/ |
D | inet_net_pton.c | 66 static const char digits[] = "0123456789"; in inet_net_pton_ipv4() local 104 n = aresx_sztosi(strchr(digits, ch) - digits); in inet_net_pton_ipv4() 132 n = aresx_sztosi(strchr(digits, ch) - digits); in inet_net_pton_ipv4() 191 static const char digits[] = "0123456789"; in getbits() local 201 pch = strchr(digits, ch); in getbits() 206 val += aresx_sztosi(pch - digits); in getbits() 222 static const char digits[] = "0123456789"; in getv4() local 233 pch = strchr(digits, ch); in getv4() 238 val += aresx_sztoui(pch - digits); in getv4() 272 int digits; in inet_net_pton_ipv6() local [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/internal/ |
D | bits.h | 77 static_assert(IsPowerOf2(std::numeric_limits<T>::digits), in RotateRight() 80 return static_cast<T>(x >> (s & (std::numeric_limits<T>::digits - 1))) | in RotateRight() 81 static_cast<T>(x << ((-s) & (std::numeric_limits<T>::digits - 1))); in RotateRight() 88 static_assert(IsPowerOf2(std::numeric_limits<T>::digits), in RotateLeft() 91 return static_cast<T>(x << (s & (std::numeric_limits<T>::digits - 1))) | in RotateLeft() 92 static_cast<T>(x >> ((-s) & (std::numeric_limits<T>::digits - 1))); in RotateLeft() 126 static_assert(IsPowerOf2(std::numeric_limits<T>::digits), in Popcount() 236 static_assert(IsPowerOf2(std::numeric_limits<T>::digits), in CountLeadingZeroes() 241 (std::numeric_limits<uint16_t>::digits - in CountLeadingZeroes() 242 std::numeric_limits<T>::digits) in CountLeadingZeroes() [all …]
|
/third_party/boost/libs/math/test/ |
D | test_root_finding_concepts.cpp | 130 boost::math::tools::eps_tolerance<double> t(std::numeric_limits<double>::digits - 1); in BOOST_AUTO_TEST_CASE() 183 …boost::math::tools::newton_raphson_iterate(f2, x, 0.0, x, std::numeric_limits<double>::digits - 1); in BOOST_AUTO_TEST_CASE() 185 …boost::math::tools::newton_raphson_iterate(f3, x, 0.0, x, std::numeric_limits<double>::digits - 1); in BOOST_AUTO_TEST_CASE() 188 …boost::math::tools::newton_raphson_iterate(f4, x, 0.0, x, std::numeric_limits<double>::digits - 1); in BOOST_AUTO_TEST_CASE() 190 …boost::math::tools::newton_raphson_iterate(f5, x, 0.0, x, std::numeric_limits<double>::digits - 1); in BOOST_AUTO_TEST_CASE() 196 …n std::make_pair(z * z * z - x, 3 * z * z); }, x, 0.0, x, std::numeric_limits<double>::digits - 1); in BOOST_AUTO_TEST_CASE() 199 … std::make_tuple(z * z * z - x, 3 * z * z); }, x, 0.0, x, std::numeric_limits<double>::digits - 1); in BOOST_AUTO_TEST_CASE() 202 …<double, double>(z * z * z - x, 3 * z * z); }, x, 0.0, x, std::numeric_limits<double>::digits - 1); in BOOST_AUTO_TEST_CASE() 204 …<double, double>(z * z * z - x, 3 * z * z); }, x, 0.0, x, std::numeric_limits<double>::digits - 1); in BOOST_AUTO_TEST_CASE() 218 …result = boost::math::tools::halley_iterate(f6, x, 0.0, x, std::numeric_limits<double>::digits - 1… in BOOST_AUTO_TEST_CASE() [all …]
|
D | test_polygamma.cpp | 18 …if(boost::math::policies::digits<double, boost::math::policies::policy<> >() == boost::math::polic… in expected_results() 45 if((std::numeric_limits<long double>::digits > std::numeric_limits<double>::digits) in expected_results() 46 && (std::numeric_limits<long double>::digits - std::numeric_limits<double>::digits < 20)) in expected_results()
|
/third_party/boost/libs/math/example/ |
D | root_finding_example.cpp | 132 …int digits = std::numeric_limits<T>::digits; // Maximum possible binary digits accuracy for type … in cbrt_noderiv() local 134 …int get_digits = digits - 3; // We have to have a non-zero interval at each step,… in cbrt_noderiv() 234 …const int digits = std::numeric_limits<T>::digits; // Maximum possible binary digits accuracy for… in cbrt_deriv() local 235 …int get_digits = static_cast<int>(digits * 0.6); // Accuracy doubles with each step, so stop wh… in cbrt_deriv() 293 …const int digits = std::numeric_limits<T>::digits; // Maximum possible binary digits accuracy for… in cbrt_2deriv() local 295 …int get_digits = static_cast<int>(digits * 0.4); // Accuracy triples with each step, so stop wh… in cbrt_2deriv() 317 …const int digits = std::numeric_limits<T>::digits; // Maximum possible binary digits accuracy for… in cbrt_2deriv_lambda() local 319 …int get_digits = static_cast<int>(digits * 0.4); // Accuracy triples with each step, so stop wh… in cbrt_2deriv_lambda() 422 const int digits = static_cast<int>(std::numeric_limits<T>::digits * 0.4); in fifth_2deriv() local 425 T result = halley_iterate(fifth_functor_2deriv<T>(x), guess, min, max, digits, it); in fifth_2deriv()
|