Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_decimal/libmpdec/
Dmpdecimal.c385 mpd_sign(const mpd_t *dec) in mpd_sign() function
835 _settriple(result, mpd_sign(result), 0, result->exp); in _mpd_cap()
1839 mpd_setspecial(dec, mpd_sign(dec), MPD_INF); in _mpd_check_exp()
2109 uint8_t sign_b = mpd_sign(b); /* result may equal b! */ in mpd_qcopy_sign()
2258 if (mpd_sign(a) != mpd_sign(b)) { in _mpd_cmp()
2259 return mpd_sign(b) - mpd_sign(a); in _mpd_cmp()
2386 if (mpd_sign(a) != mpd_sign(b)) { in mpd_cmp_total()
2387 return mpd_sign(b) - mpd_sign(a); in mpd_cmp_total()
2478 sign_a = mpd_sign(a); in _mpd_cmp_numequal()
2479 sign_b = mpd_sign(b); in _mpd_cmp_numequal()
[all …]
Dmpdecimal.h756 EXTINLINE uint8_t mpd_sign(const mpd_t *dec);
/external/python/cpython3/Modules/_decimal/
D_decimal.c3704 sign = PyLong_FromUnsignedLong(mpd_sign(MPD(dec))); in PyDec_AsTuple()