Home
last modified time | relevance | path

Searched refs:MPD_MAX_PREC (Results 1 - 5 of 5) sorted by relevance

/third_party/python/Modules/_decimal/libmpdec/
H A Dcontext.c89 ctx->prec=MPD_MAX_PREC; in mpd_maxcontext()
200 if (prec <= 0 || prec > MPD_MAX_PREC) { in mpd_qsetprec()
H A Dio.c285 if (fracdigits > MPD_MAX_PREC) { in mpd_qset_string()
295 if (digits > MPD_MAX_PREC) { in mpd_qset_string()
910 * The following functions assume that spec->min_width <= MPD_MAX_PREC, which
1163 /* max value: MPD_MAX_PREC * 4 */ in _mpd_add_pad()
1219 If result->digits would exceed MPD_MAX_PREC+1, MPD_Invalid_operation
1260 if (spec->min_width > MPD_MAX_PREC) { in mpd_qformat_spec()
1308 if (spec->prec > MPD_MAX_PREC) { in mpd_qformat_spec()
1363 * case 'f': 2*MPD_MAX_PREC+30 in mpd_qformat_spec()
1373 if (result.nchars > MPD_MAX_PREC+36) { in mpd_qformat_spec()
H A Dmpdecimal.h147 #define MPD_MAX_PREC 999999999999999999LL macro
152 #define MPD_MIN_ETINY (MPD_MIN_EMIN-(MPD_MAX_PREC-1))
155 #define MPD_MAXIMPORT 105263157894736842L /* ceil((2*MPD_MAX_PREC)/MPD_RDIGITS) */
192 #define MPD_MAX_PREC 425000000L macro
197 #define MPD_MIN_ETINY (MPD_MIN_EMIN-(MPD_MAX_PREC-1))
200 #define MPD_MAXIMPORT 94444445L /* ceil((2*MPD_MAX_PREC)/MPD_RDIGITS) */
H A Dmpdecimal.c7223 if (a->digits + shift > MPD_MAX_PREC+1) { in _mpd_qrescale()
7257 * result->digits <= MPD_MAX_PREC+1
7276 * MPD_MIN_ETINY-MPD_MAX_PREC <= exp <= MPD_MAX_EMAX+1
7277 * result->digits <= MPD_MAX_PREC+1
7283 if (exp > MPD_MAX_EMAX+1 || exp < MPD_MIN_ETINY-MPD_MAX_PREC) { in mpd_qrescale_fmt()
7488 maxcontext.prec = MPD_MAX_PREC + 100; in _mpd_qreciprocal()
7578 if (a->digits > MPD_MAX_PREC || workctx.prec > MPD_MAX_PREC) { in _mpd_base_ndivmod()
8773 .prec=MPD_MAX_PREC, in mpd_from_uint128_triple()
/third_party/python/Modules/_decimal/
H A D_decimal.c4753 maxctx.prec = MPD_MAX_PREC + 21; in _dec_hash()
5751 {"MAX_PREC", MPD_MAX_PREC},

Completed in 24 milliseconds