Searched refs:resultsign (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | mpdecimal.c | 119 mpd_uint_t exp, uint8_t resultsign, 6285 uint8_t resultsign, const mpd_context_t *ctx, uint32_t *status) in _mpd_qpow_uint() argument 6291 _settriple(result, resultsign, 1, 0); /* GCOV_NOT_REACHED */ in _mpd_qpow_uint() 6312 mpd_set_sign(result, resultsign); in _mpd_qpow_uint() 6326 _mpd_qpow_mpd(mpd_t *result, mpd_t *tbase, mpd_t *texp, uint8_t resultsign, in _mpd_qpow_mpd() argument 6355 mpd_set_sign(result, resultsign); in _mpd_qpow_mpd() 6365 uint8_t resultsign, in _mpd_qpow_int() argument 6401 _mpd_qpow_mpd(result, &tbase, &texp, resultsign, &workctx, status); in _mpd_qpow_int() 6404 _mpd_qpow_uint(result, &tbase, n, resultsign, &workctx, status); in _mpd_qpow_int() 6409 _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 | 1279 resultsign = self._sign ^ other._sign 1289 return _SignedInfinity[resultsign] 1294 return _SignedInfinity[resultsign] 1300 ans = _dec_from_triple(resultsign, '0', resultexp) 1307 ans = _dec_from_triple(resultsign, other._int, resultexp) 1311 ans = _dec_from_triple(resultsign, self._int, resultexp) 1318 ans = _dec_from_triple(resultsign, str(op1.int * op2.int), resultexp)
|