Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_decimal/libmpdec/
Dmpdecimal.c1051 mpd_setspecial(mpd_t *result, uint8_t sign, uint8_t type) in mpd_setspecial() function
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()
3683 mpd_setspecial(q, sign_a^sign_b, MPD_INF); in _mpd_qdiv()
[all …]
Dio.c224 mpd_setspecial(dec, sign, MPD_NAN); in mpd_qset_string()
240 mpd_setspecial(dec, sign, MPD_SNAN); in mpd_qset_string()
257 mpd_setspecial(dec, sign, MPD_INF); in mpd_qset_string()
Dmpdecimal.h430 void mpd_setspecial(mpd_t *dec, uint8_t sign, uint8_t type);
/external/python/cpython3/Modules/_decimal/
D_decimal.c2128 mpd_setspecial(MPD(dec), MPD_POS, MPD_NAN); in PyDecType_FromFloatExact()
2131 mpd_setspecial(MPD(dec), sign, MPD_INF); in PyDecType_FromFloatExact()
2613 mpd_setspecial(MPD(result), MPD_POS, MPD_NAN); in PyDec_FromObject()