Home
last modified time | relevance | path

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

/third_party/python/Modules/_decimal/libmpdec/
Dmpdecimal.c290 return dec->flags & (MPD_NAN|MPD_SNAN); in mpd_isnan()
311 return dec->flags & MPD_NAN; in mpd_isqnan()
654 result->flags |= MPD_NAN; in mpd_set_qnan()
1643 if ((a->flags|b->flags)&(MPD_NAN|MPD_SNAN)) { in mpd_qcheck_nans()
1672 if ((a->flags|b->flags|c->flags)&(MPD_NAN|MPD_SNAN)) { in mpd_qcheck_3nans()
3836 mpd_setspecial(q, MPD_POS, MPD_NAN); in _mpd_qdiv()
4085 mpd_setspecial(q, MPD_POS, MPD_NAN); in _mpd_qdivmod()
4086 mpd_setspecial(r, MPD_POS, MPD_NAN); in _mpd_qdivmod()
4104 mpd_setspecial(q, MPD_POS, MPD_NAN); in mpd_qdivmod()
4109 mpd_setspecial(r, MPD_POS, MPD_NAN); in mpd_qdivmod()
[all …]
Dmpdecimal.h343 #define MPD_NAN MPD_UINT8_C(4) macro
345 #define MPD_SPECIAL (MPD_INF|MPD_NAN|MPD_SNAN)
Dio.c224 mpd_setspecial(dec, sign, MPD_NAN); in mpd_qset_string()
/third_party/python/Modules/_decimal/
D_decimal.c2272 mpd_setspecial(MPD(dec), MPD_POS, MPD_NAN); in PyDecType_FromFloatExact()
2757 mpd_setspecial(MPD(result), MPD_POS, MPD_NAN); in PyDec_FromObject()