Searched refs:MPD_NAN (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | mpdecimal.c | 286 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 …]
|
D | mpdecimal.h | 362 #define MPD_NAN ((uint8_t)4) macro 364 #define MPD_SPECIAL (MPD_INF|MPD_NAN|MPD_SNAN)
|
D | io.c | 224 mpd_setspecial(dec, sign, MPD_NAN); in mpd_qset_string()
|
/external/python/cpython3/Modules/_decimal/ |
D | _decimal.c | 2128 mpd_setspecial(MPD(dec), MPD_POS, MPD_NAN); in PyDecType_FromFloatExact() 2613 mpd_setspecial(MPD(result), MPD_POS, MPD_NAN); in PyDec_FromObject()
|