Searched refs:maxcontext (Results 1 – 4 of 4) sorted by relevance
/third_party/python/Modules/_decimal/libmpdec/ |
D | mpdecimal.c | 1277 mpd_context_t maxcontext; in mpd_qset_i64_exact() local 1279 mpd_maxcontext(&maxcontext); in mpd_qset_i64_exact() 1281 mpd_qset_ssize(result, a, &maxcontext, status); in mpd_qset_i64_exact() 1283 _c32_qset_i64(result, a, &maxcontext, status); in mpd_qset_i64_exact() 1309 mpd_context_t maxcontext; in mpd_qset_u64_exact() local 1311 mpd_maxcontext(&maxcontext); in mpd_qset_u64_exact() 1313 mpd_qset_uint(result, a, &maxcontext, status); in mpd_qset_u64_exact() 1315 _c32_qset_u64(result, a, &maxcontext, status); in mpd_qset_u64_exact() 1444 mpd_context_t maxcontext; in _c32_qget_u64() local 1472 mpd_maxcontext(&maxcontext); in _c32_qget_u64() [all …]
|
D | io.c | 333 mpd_context_t maxcontext; in mpd_qset_string_exact() local 335 mpd_maxcontext(&maxcontext); in mpd_qset_string_exact() 336 mpd_qset_string(dec, s, &maxcontext, status); in mpd_qset_string_exact()
|
/third_party/python/Modules/_decimal/tests/ |
D | deccheck.py | 301 maxcontext = P.Context( variable 308 maxcontext.clamp = 0 311 maxcontext.traps = copy(context.p.traps) 312 maxcontext.clear_flags() 315 dec = maxcontext.create_decimal(value) 316 if maxcontext.flags[P.Inexact] or \ 317 maxcontext.flags[P.Rounded] or \ 318 maxcontext.flags[P.Clamped] or \ 319 maxcontext.flags[P.InvalidOperation]: 321 if maxcontext.flags[P.FloatOperation]: [all …]
|
/third_party/python/Lib/test/ |
D | test_decimal.py | 5553 maxcontext = Context(prec=C.MAX_PREC, Emin=C.MIN_EMIN, Emax=C.MAX_EMAX) 5554 with localcontext(maxcontext):
|