Home
last modified time | relevance | path

Searched refs:mpd_isnegative (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Modules/_decimal/libmpdec/
Dmpdecimal.c295 mpd_isnegative(const mpd_t *dec) in mpd_isnegative() function
394 return 1 - 2 * mpd_isnegative(dec); in mpd_arith_sign()
1347 if (use_sign && mpd_isnegative(a)) { in _mpd_qget_uint()
1423 isneg = mpd_isnegative(a); in mpd_qget_ssize()
1458 if (use_sign && mpd_isnegative(a)) { in _c32_qget_u64()
1507 isneg = mpd_isnegative(a); in _c32_qget_i64()
1713 return !(rnd == 0 || mpd_isnegative(dec)); in _mpd_rnd_incr()
1846 if (mpd_isnegative(dec)) { in _mpd_check_exp()
2238 return mpd_isnegative(b) - mpd_isnegative(a); in _mpd_cmp()
2687 mpd_isnegative(a) || mpd_isnegative(b) || in mpd_qand()
[all …]
Dio.c481 if (mpd_isnegative(dec)) { in _mpd_to_string()
590 if (mpd_isnegative(dec)) { in _mpd_to_string()
Dmpdecimal.h722 EXTINLINE int mpd_isnegative(const mpd_t *dec);
/external/python/cpython3/Modules/_decimal/
D_decimal.c3402 if (mpd_isnegative(x) && !mpd_iszero(x)) { in dec_as_long()
3602 if (mpd_isnegative(MPD(dec))) { in PyDec_AsFloat()