Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_decimal/libmpdec/
Dmpdecimal.c279 return dec->flags & MPD_INF; in mpd_isinfinite()
620 result->flags |= MPD_INF; in mpd_set_infinity()
1762 mpd_setspecial(dec, mpd_sign(dec), MPD_INF); in _mpd_check_exp()
1774 mpd_setspecial(dec, MPD_POS, MPD_INF); in _mpd_check_exp()
1783 mpd_setspecial(dec, MPD_NEG, MPD_INF); in _mpd_check_exp()
2760 mpd_setspecial(result, MPD_POS, MPD_INF); in mpd_qlogb()
2763 mpd_setspecial(result, MPD_NEG, MPD_INF); in mpd_qlogb()
3229 mpd_setspecial(result, mpd_sign(a), MPD_INF); in _mpd_qaddsub_inf()
3234 mpd_setspecial(result, sign_b, MPD_INF); in _mpd_qaddsub_inf()
3647 mpd_setspecial(result, mpd_sign(a)^mpd_sign(b), MPD_INF); in _mpd_qdiv_inf()
[all …]
Dmpdecimal.h361 #define MPD_INF ((uint8_t)2) macro
364 #define MPD_SPECIAL (MPD_INF|MPD_NAN|MPD_SNAN)
Dio.c257 mpd_setspecial(dec, sign, MPD_INF); in mpd_qset_string()
/external/python/cpython3/Modules/_decimal/
D_decimal.c2131 mpd_setspecial(MPD(dec), sign, MPD_INF); in PyDecType_FromFloatExact()