Searched refs:powers (Results 1 - 8 of 8) sorted by relevance
/third_party/rust/crates/minimal-lexical/etc/ |
H A D | lemire_table.py | 4 Generate powers of five using Daniel Lemire's ``Eisel-Lemire algorithm`` for use in 23 //! Pre-computed tables powers-of-5 for extended-precision representations. 63 powers = deque() 67 powers = [] 76 powers.append((c, q)) 83 powers.append((c, q)) 94 powers.append((power5, q)) 96 # Print the powers. 102 for c, exp in powers:
|
/third_party/icu/vendor/double-conversion/ |
H A D | pull-from-upstream.sh | 55 do_patch_prefix_extension cached-powers cc cpp; 56 do_patch_prefix_extension cached-powers h h;
|
/third_party/icu/icu4c/source/i18n/ |
H A D | decNumber.cpp | 193 #define powers DECPOWERS /* old internal name */ macro 225 /* Powers of ten (powers[n]==10**n, 0<=n<=9) */ 236 /* multiply, after removing powers of 2 by shifting, and final shift */ 422 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in uprv_decNumberToInt32() 458 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in uprv_decNumberToUInt32() 857 if (a&b&1) *uc=*uc+(Unit)powers[i]; /* effect AND */ in uprv_decNumberAnd() 1247 if ((~a)&1) *uc=*uc+(Unit)powers[i]; /* effect INVERT */ in uprv_decNumberInvert() 1465 /* handle exact powers of 10; only check if +ve finite */ in uprv_decNumberLog10() 1871 if ((a|b)&1) *uc=*uc+(Unit)powers[i]; /* effect OR */ in uprv_decNumberOr() 2558 uInt save=res->lsu[0]%powers[shif in uprv_decNumberRotate() [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | decNumber.cpp | 193 #define powers DECPOWERS /* old internal name */ macro 225 /* Powers of ten (powers[n]==10**n, 0<=n<=9) */ 236 /* multiply, after removing powers of 2 by shifting, and final shift */ 422 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in uprv_decNumberToInt32() 458 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in uprv_decNumberToUInt32() 857 if (a&b&1) *uc=*uc+(Unit)powers[i]; /* effect AND */ in uprv_decNumberAnd() 1247 if ((~a)&1) *uc=*uc+(Unit)powers[i]; /* effect INVERT */ in uprv_decNumberInvert() 1465 /* handle exact powers of 10; only check if +ve finite */ in uprv_decNumberLog10() 1871 if ((a|b)&1) *uc=*uc+(Unit)powers[i]; /* effect OR */ in uprv_decNumberOr() 2558 uInt save=res->lsu[0]%powers[shif in uprv_decNumberRotate() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | decNumber.cpp | 193 #define powers DECPOWERS /* old internal name */ macro 225 /* Powers of ten (powers[n]==10**n, 0<=n<=9) */ 236 /* multiply, after removing powers of 2 by shifting, and final shift */ 422 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in uprv_decNumberToInt32() 458 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in uprv_decNumberToUInt32() 857 if (a&b&1) *uc=*uc+(Unit)powers[i]; /* effect AND */ in uprv_decNumberAnd() 1247 if ((~a)&1) *uc=*uc+(Unit)powers[i]; /* effect INVERT */ in uprv_decNumberInvert() 1465 /* handle exact powers of 10; only check if +ve finite */ in uprv_decNumberLog10() 1871 if ((a|b)&1) *uc=*uc+(Unit)powers[i]; /* effect OR */ in uprv_decNumberOr() 2558 uInt save=res->lsu[0]%powers[shif in uprv_decNumberRotate() [all...] |
/third_party/node/deps/v8/tools/ |
H A D | generate-ten-powers.scm | 30 ;; bigloo -static-bigloo -o generate-ten-powers generate-ten-powers.scm 34 (module gen-ten-powers 88 (define (generate-powers from to mantissa-size) 135 (define (print-c powers from to struct-type 149 (define (print-powers-reduced n) 158 ((>= i (vector-length powers)) 164 (let* ((power (vector-ref powers i)) 187 "// hold the cached powers of ten. Each entry will hold a 64-bit\n" 205 (print-powers [all...] |
/third_party/astc-encoder/Source/ |
H A D | wuffs-v0.3.c | 12407 // wuffs_base__private_implementation__powers_of_5 contains the powers of 5, 12468 // approximations to the powers of 10, ranging from 1e-307 to 1e+288 inclusive, 12487 // This table was generated by by script/print-mpb-powers-of-10.go 13088 // wuffs_base__private_implementation__f64_powers_of_10 holds powers of 10 that 14096 // script/print-mpb-powers-of-10.go in wuffs_base__private_implementation__parse_number_f64_eisel_lemire() 14344 // powers converts decimal powers of 10 to binary powers of 2. For example, in wuffs_base__private_implementation__high_prec_dec__to_f64() 14348 static const uint8_t powers[19] = { in wuffs_base__private_implementation__high_prec_dec__to_f64() local 14390 // Scale by powers o in wuffs_base__private_implementation__high_prec_dec__to_f64() [all...] |
/third_party/skia/third_party/externals/wuffs/release/c/ |
H A D | wuffs-v0.3.c | 11511 // wuffs_base__private_implementation__powers_of_5 contains the powers of 5, 11572 // approximations to the powers of 10, ranging from 1e-307 to 1e+288 inclusive, 11591 // This table was generated by by script/print-mpb-powers-of-10.go 12192 // wuffs_base__private_implementation__f64_powers_of_10 holds powers of 10 that 13200 // script/print-mpb-powers-of-10.go in wuffs_base__private_implementation__parse_number_f64_eisel_lemire() 13448 // powers converts decimal powers of 10 to binary powers of 2. For example, in wuffs_base__private_implementation__high_prec_dec__to_f64() 13452 static const uint8_t powers[19] = { in wuffs_base__private_implementation__high_prec_dec__to_f64() local 13494 // Scale by powers o in wuffs_base__private_implementation__high_prec_dec__to_f64() [all...] |
Completed in 94 milliseconds