Searched refs:mpd_isnegative (Results 1 – 4 of 4) sorted by relevance
291 mpd_isnegative(const mpd_t *dec) in mpd_isnegative() function390 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 …]
465 if (mpd_isnegative(dec)) { in _mpd_to_string()574 if (mpd_isnegative(dec)) { in _mpd_to_string()
729 EXTINLINE int mpd_isnegative(const mpd_t *dec);
3257 if (mpd_isnegative(x) && !mpd_iszero(x)) { in dec_as_long()3457 if (mpd_isnegative(MPD(dec))) { in PyDec_AsFloat()