Searched refs:texp (Results 1 - 3 of 3) sorted by relevance
/third_party/python/Modules/_decimal/libmpdec/ |
H A D | mpdecimal.c | 6316 * Internal function: Integer power with mpd_t exponent, tbase and texp 6326 _mpd_qpow_mpd(mpd_t *result, mpd_t *tbase, mpd_t *texp, uint8_t resultsign, in _mpd_qpow_mpd() argument 6339 while (!mpd_iszero(texp)) { in _mpd_qpow_mpd() 6340 if (mpd_isodd(texp)) { in _mpd_qpow_mpd() 6349 mpd_qdivint(texp, texp, &two, &maxctx, &workstatus); in _mpd_qpow_mpd() 6350 if (mpd_isnan(tbase) || mpd_isnan(texp)) { in _mpd_qpow_mpd() 6370 MPD_NEW_STATIC(texp,0,0,0,0); in _mpd_qpow_int() 6397 if (!mpd_qcopy(&texp, exp, status)) { in _mpd_qpow_int() 6401 _mpd_qpow_mpd(result, &tbase, &texp, resultsig in _mpd_qpow_int() [all...] |
/third_party/python/Lib/test/ |
H A D | test_math.py | 644 tmant, texp = 0, 0 648 if texp > exp: 649 tmant <<= texp-exp 650 texp = exp 652 mant <<= exp-texp 654 # Round tmant * 2**texp to a float. The original recipe 655 # used float(str(tmant)) * 2.0**texp for this, but that's 658 tail = max(len(bin(abs(tmant)))-2 - mant_dig, etiny - texp) 662 texp += tail 663 return math.ldexp(tmant, texp) [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | APFloat.cpp | 3541 int texp = -exp; 3552 unsigned precision = semantics->precision + (137 * texp + 136) / 59; 3559 if (texp & 1) significand *= five_to_the_i; 3561 texp >>= 1; 3562 if (!texp) break;
|
Completed in 14 milliseconds