Home
last modified time | relevance | path

Searched refs:texp (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Modules/_decimal/libmpdec/
Dmpdecimal.c6326 _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, resultsign, &workctx, status); in _mpd_qpow_int()
6414 mpd_del(&texp); in _mpd_qpow_int()
6660 MPD_NEW_STATIC(texp,0,0,0,0); in _mpd_qpow_real()
[all …]
/third_party/python/Lib/test/
Dtest_math.py617 tmant, texp = 0, 0
621 if texp > exp:
622 tmant <<= texp-exp
623 texp = exp
625 mant <<= exp-texp
631 tail = max(len(bin(abs(tmant)))-2 - mant_dig, etiny - texp)
635 texp += tail
636 return math.ldexp(tmant, texp)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPFloat.cpp3541 int texp = -exp; in toString() local
3552 unsigned precision = semantics->precision + (137 * texp + 136) / 59; in toString()
3559 if (texp & 1) significand *= five_to_the_i; in toString()
3561 texp >>= 1; in toString()
3562 if (!texp) break; in toString()