Searched refs:resultsign (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | mpdecimal.c | 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() [all …]
|
/external/python/cpython2/Lib/ |
D | decimal.py | 1246 resultsign = self._sign ^ other._sign 1256 return _SignedInfinity[resultsign] 1261 return _SignedInfinity[resultsign] 1267 ans = _dec_from_triple(resultsign, '0', resultexp) 1274 ans = _dec_from_triple(resultsign, other._int, resultexp) 1278 ans = _dec_from_triple(resultsign, self._int, resultexp) 1285 ans = _dec_from_triple(resultsign, str(op1.int * op2.int), resultexp)
|
/external/python/cpython3/Lib/ |
D | _pydecimal.py | 1275 resultsign = self._sign ^ other._sign 1285 return _SignedInfinity[resultsign] 1290 return _SignedInfinity[resultsign] 1296 ans = _dec_from_triple(resultsign, '0', resultexp) 1303 ans = _dec_from_triple(resultsign, other._int, resultexp) 1307 ans = _dec_from_triple(resultsign, self._int, resultexp) 1314 ans = _dec_from_triple(resultsign, str(op1.int * op2.int), resultexp)
|