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.c291 mpd_isnegative(const mpd_t *dec) in mpd_isnegative() function
390 return 1 - 2 * mpd_isnegative(dec); in mpd_arith_sign()
1282 if (use_sign && mpd_isnegative(a)) { in _mpd_qget_uint()
1356 isneg = mpd_isnegative(a); in mpd_qget_ssize()
1391 if (use_sign && mpd_isnegative(a)) { in _c32_qget_u64()
1440 isneg = mpd_isnegative(a); in _c32_qget_i64()
1636 return !(rnd == 0 || mpd_isnegative(dec)); in _mpd_rnd_incr()
1769 if (mpd_isnegative(dec)) { in _mpd_check_exp()
2142 return mpd_isnegative(b) - mpd_isnegative(a); in _mpd_cmp()
2591 mpd_isnegative(a) || mpd_isnegative(b) || in mpd_qand()
[all …]
Dio.c465 if (mpd_isnegative(dec)) { in _mpd_to_string()
574 if (mpd_isnegative(dec)) { in _mpd_to_string()
Dmpdecimal.h729 EXTINLINE int mpd_isnegative(const mpd_t *dec);
/external/python/cpython3/Modules/_decimal/
D_decimal.c3257 if (mpd_isnegative(x) && !mpd_iszero(x)) { in dec_as_long()
3457 if (mpd_isnegative(MPD(dec))) { in PyDec_AsFloat()