Lines Matching refs:resultsign
116 mpd_uint_t exp, uint8_t resultsign,
6123 uint8_t resultsign, const mpd_context_t *ctx, uint32_t *status) in _mpd_qpow_uint() argument
6129 _settriple(result, resultsign, 1, 0); /* GCOV_NOT_REACHED */ in _mpd_qpow_uint()
6150 mpd_set_sign(result, resultsign); in _mpd_qpow_uint()
6164 _mpd_qpow_mpd(mpd_t *result, mpd_t *tbase, mpd_t *texp, uint8_t resultsign, in _mpd_qpow_mpd() argument
6193 mpd_set_sign(result, resultsign); in _mpd_qpow_mpd()
6203 uint8_t resultsign, in _mpd_qpow_int() argument
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()
6245 _settriple(result, resultsign, 1, MPD_EXP_INF); in _mpd_qpow_int()
6260 _qcheck_pow_one_inf(mpd_t *result, const mpd_t *base, uint8_t resultsign, in _qcheck_pow_one_inf() argument
6270 mpd_set_flags(result, resultsign); in _qcheck_pow_one_inf()
6286 uint8_t resultsign, in _qcheck_pow_one() argument
6296 _settriple(result, resultsign, 1, 0); in _qcheck_pow_one()
6324 mpd_set_flags(result, resultsign); in _qcheck_pow_one()
6434 uint8_t resultsign, in _qcheck_pow_bounds() argument
6455 _settriple(result, resultsign, 1, MPD_EXP_INF); in _qcheck_pow_bounds()
6464 _settriple(result, resultsign, 1, mpd_etiny(ctx)-1); in _qcheck_pow_bounds()
6547 uint8_t resultsign = 0; in mpd_qpow() local
6558 resultsign = mpd_isnegative(base) && mpd_isodd(exp); in mpd_qpow()
6566 mpd_setspecial(result, resultsign, MPD_INF); in mpd_qpow()
6569 _settriple(result, resultsign, 0, 0); in mpd_qpow()
6581 cmp = _qcheck_pow_one_inf(result, base, resultsign, ctx, status); in mpd_qpow()
6588 _settriple(result, resultsign, 0, 0); in mpd_qpow()
6591 mpd_setspecial(result, resultsign, MPD_INF); in mpd_qpow()
6598 _settriple(result, resultsign, 1, 0); in mpd_qpow()
6601 _settriple(result, resultsign, 0, 0); in mpd_qpow()
6604 mpd_setspecial(result, resultsign, MPD_INF); in mpd_qpow()
6609 _settriple(result, resultsign, 1, 0); in mpd_qpow()
6612 if (_qcheck_pow_one(result, base, exp, resultsign, ctx, status) == 0) { in mpd_qpow()
6615 if (_qcheck_pow_bounds(result, base, exp, resultsign, ctx, status)) { in mpd_qpow()
6620 _mpd_qpow_int(result, base, exp, resultsign, ctx, status); in mpd_qpow()