Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_decimal/libmpdec/
Dmpdecimal.c286 return dec->flags & (MPD_NAN|MPD_SNAN); in mpd_isnan()
307 return dec->flags & MPD_NAN; in mpd_isqnan()
628 result->flags |= MPD_NAN; in mpd_set_qnan()
1566 if ((a->flags|b->flags)&(MPD_NAN|MPD_SNAN)) { in mpd_qcheck_nans()
1595 if ((a->flags|b->flags|c->flags)&(MPD_NAN|MPD_SNAN)) { in mpd_qcheck_3nans()
3740 mpd_setspecial(q, MPD_POS, MPD_NAN); in _mpd_qdiv()
3923 mpd_setspecial(q, MPD_POS, MPD_NAN); in _mpd_qdivmod()
3924 mpd_setspecial(r, MPD_POS, MPD_NAN); in _mpd_qdivmod()
3942 mpd_setspecial(q, MPD_POS, MPD_NAN); in mpd_qdivmod()
3947 mpd_setspecial(r, MPD_POS, MPD_NAN); in mpd_qdivmod()
[all …]
Dmpdecimal.h362 #define MPD_NAN ((uint8_t)4) macro
364 #define MPD_SPECIAL (MPD_INF|MPD_NAN|MPD_SNAN)
Dio.c224 mpd_setspecial(dec, sign, MPD_NAN); in mpd_qset_string()
/external/python/cpython3/Modules/_decimal/
D_decimal.c2128 mpd_setspecial(MPD(dec), MPD_POS, MPD_NAN); in PyDecType_FromFloatExact()
2613 mpd_setspecial(MPD(result), MPD_POS, MPD_NAN); in PyDec_FromObject()