Lines Matching refs:tbase
6164 _mpd_qpow_mpd(mpd_t *result, mpd_t *tbase, mpd_t *texp, uint8_t resultsign, in _mpd_qpow_mpd() argument
6179 mpd_qmul(result, result, tbase, ctx, &workstatus); in _mpd_qpow_mpd()
6186 mpd_qmul(tbase, tbase, tbase, ctx, &workstatus); in _mpd_qpow_mpd()
6188 if (mpd_isnan(tbase) || mpd_isnan(texp)) { in _mpd_qpow_mpd()
6207 MPD_NEW_STATIC(tbase,0,0,0,0); in _mpd_qpow_int()
6218 mpd_qdiv(&tbase, &one, base, &workctx, status); in _mpd_qpow_int()
6225 if (!mpd_qcopy(&tbase, base, status)) { in _mpd_qpow_int()
6237 _mpd_qpow_mpd(result, &tbase, &texp, resultsign, &workctx, status); in _mpd_qpow_int()
6240 _mpd_qpow_uint(result, &tbase, n, resultsign, &workctx, status); in _mpd_qpow_int()
6249 mpd_del(&tbase); in _mpd_qpow_int()
6670 MPD_NEW_STATIC(tbase,0,0,0,0); in mpd_qpowmod()
6733 mpd_qround_to_int(&tbase, base, &maxcontext, status); in mpd_qpowmod()
6734 mpd_set_positive(&tbase); in mpd_qpowmod()
6735 tbase_exp = tbase.exp; in mpd_qpowmod()
6736 tbase.exp = 0; in mpd_qpowmod()
6743 mpd_qrem(&tbase, &tbase, &tmod, &maxcontext, status); in mpd_qpowmod()
6746 _mpd_qmul_exact(&tbase, &tbase, result, &maxcontext, status); in mpd_qpowmod()
6747 mpd_qrem(&tbase, &tbase, &tmod, &maxcontext, status); in mpd_qpowmod()
6748 if (mpd_isspecial(&tbase) || in mpd_qpowmod()
6755 _mpd_qpowmod_uint(&tmp, &tbase, 10, &tmod, status); in mpd_qpowmod()
6757 tmp = tbase; in mpd_qpowmod()
6758 tbase = t; in mpd_qpowmod()
6760 if (mpd_isspecial(&tbase)) { in mpd_qpowmod()
6768 _mpd_qmul_exact(result, result, &tbase, &maxcontext, status); in mpd_qpowmod()
6771 _mpd_qmul_exact(&tbase, &tbase, &tbase, &maxcontext, status); in mpd_qpowmod()
6772 mpd_qrem(&tbase, &tbase, &tmod, &maxcontext, status); in mpd_qpowmod()
6775 if (mpd_isspecial(&texp) || mpd_isspecial(&tbase) || in mpd_qpowmod()
6785 mpd_del(&tbase); in mpd_qpowmod()