Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_decimal/libmpdec/
Dmpdecimal.c1277 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 …]
Dio.c333 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()
/external/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py301 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 …]
/external/python/cpython3/Lib/test/
Dtest_decimal.py5525 maxcontext = Context(prec=C.MAX_PREC, Emin=C.MIN_EMIN, Emax=C.MAX_EMAX)
5526 with localcontext(maxcontext):