/external/python/cpython3/Modules/_decimal/tests/ |
D | randdec.py | 191 def close_to_one_greater(prec, emax, emin): argument 196 def close_to_one_less(prec, emax, emin): argument 202 def close_to_zero_greater(prec, emax, emin): argument 207 def close_to_zero_less(prec, emax, emin): argument 213 def close_to_emax_less(prec, emax, emin): argument 216 str(randrange(rprec)), "E", str(emax))) 218 def close_to_emax_greater(prec, emax, emin): argument 221 str(randrange(rprec)), "E", str(emax+1))) 224 def close_to_emin_greater(prec, emax, emin): argument 229 def close_to_emin_less(prec, emax, emin): argument [all …]
|
D | deccheck.py | 937 emin, emax = expts 942 context.Emin, context.Emax = emin, emax
|
/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | context.c | 90 ctx->emax=MPD_MAX_EMAX; in mpd_maxcontext() 104 ctx->emax=MPD_MAX_EMAX; in mpd_defaultcontext() 118 ctx->emax=MPD_MAX_EMAX; in mpd_basiccontext() 136 ctx->emax = 3 * ((mpd_ssize_t)1<<(bits/16+3)); in mpd_ieee_context() 137 ctx->emin = 1 - ctx->emax; in mpd_ieee_context() 157 return ctx->emax; in mpd_getemax() 208 mpd_qsetemax(mpd_context_t *ctx, mpd_ssize_t emax) in mpd_qsetemax() argument 210 if (emax < 0 || emax > MPD_MAX_EMAX) { in mpd_qsetemax() 213 ctx->emax = emax; in mpd_qsetemax()
|
D | mpdecimal.c | 218 return ctx->emax - (ctx->prec - 1); in mpd_etop() 753 workctx->emax = ctx->emax; in mpd_workcontext() 1823 if (adjexp > ctx->emax) { in _mpd_check_exp() 1826 dec->exp = ctx->emax; in _mpd_check_exp() 1843 dec->exp = ctx->emax - ctx->prec + 1; in _mpd_check_exp() 1848 dec->exp = ctx->emax - ctx->prec + 1; in _mpd_check_exp() 1857 dec->exp = ctx->emax - ctx->prec + 1; in _mpd_check_exp() 3066 maxjump = 2 * (mpd_uint_t)(ctx->emax + ctx->prec); in mpd_qscaleb() 5063 if (mpd_exp_digits(t)-1 > ctx->emax) { in mpd_qln() 5215 if (mpd_exp_digits(t)-1 > ctx->emax) { in mpd_qlog10() [all …]
|
D | mpdecimal.h | 251 mpd_ssize_t emax; /* max positive exp */ member 333 int mpd_qsetemax(mpd_context_t *ctx, mpd_ssize_t emax);
|
/external/arm-optimized-routines/math/tools/ |
D | plot.py | 50 emax = max(es) 51 ax0.text(a+(b-a)*0.7, emax*0.8, '%s\n%g'%(emax.hex(),emax))
|
/external/llvm-project/libc/AOR_v20.02/math/tools/ |
D | plot.py | 51 emax = max(es) 52 ax0.text(a+(b-a)*0.7, emax*0.8, '%s\n%g'%(emax.hex(),emax))
|
/external/icu/icu4c/source/i18n/ |
D | decContext.cpp | 68 context->emax=DEC_MAX_EMAX; /* 9-digit exponents */ in uprv_decContextDefault() 83 context->emax=96; /* Emax */ in uprv_decContextDefault() 94 context->emax=384; /* Emax */ in uprv_decContextDefault() 105 context->emax=6144; /* Emax */ in uprv_decContextDefault()
|
D | decNumber.cpp | 731 || (dn->exponent-1>set->emax-set->digits)) { in uprv_decNumberFromString() 1158 dcmul.emax=DEC_MAX_EMAX; /* effectively unbounded .. */ in uprv_decNumberFMA() 1504 aset.emax=DEC_MAX_MATH; /* usual bounds */ in uprv_decNumberLog10() 2126 aset.emax=DEC_MAX_MATH; /* usual bounds */ in uprv_decNumberPower() 2664 || abs(reqexp)>(2*(set->digits+set->emax))) /* .. or out of range */ in uprv_decNumberScaleB() 2953 workset.emax=DEC_MAX_EMAX; in uprv_decNumberSquareRoot() 3061 approxset.emax-=exp/2; in uprv_decNumberSquareRoot() 3075 approxset.emax-=exp/2; in uprv_decNumberSquareRoot() 3113 Int maxexp=set->emax-set->digits+1; in uprv_decNumberSquareRoot() 3978 && rhs->exponent<=set->emax-set->digits+1 /* [could clamp] */ in decAddOp() [all …]
|
D | decContext.h | 92 int32_t emax; /* maximum positive exponent */ member
|
/external/arm-optimized-routines/math/test/ |
D | ulp.h | 24 if (e > RT(emax) - RT(prec)) in RT() 25 e = RT(emax) - RT(prec); in RT() 31 return RT(emax) - RT(prec); in RT() 198 mpfr_set_emax (RT(emax)); in T()
|
/external/llvm-project/libc/AOR_v20.02/math/test/ |
D | ulp.h | 25 if (e > RT(emax) - RT(prec)) in RT() 26 e = RT(emax) - RT(prec); in RT() 32 return RT(emax) - RT(prec); in RT() 199 mpfr_set_emax (RT(emax)); in T()
|
/external/icu/libicu/cts_headers/ |
D | decContext.h | 92 int32_t emax; /* maximum positive exponent */ member
|
/external/python/cpython2/Modules/ |
D | selectmodule.c | 206 int imax, omax, emax, max; in select_select() local 260 if ((emax=seq2set(efdlist, &efdset, efd2obj)) < 0) in select_select() 264 if (emax > max) max = emax; in select_select()
|
/external/python/cpython3/Modules/ |
D | selectmodule.c | 285 int imax, omax, emax, max; in select_select_impl() local 333 if ((emax = seq2set(xlist, &efdset, efd2obj)) < 0) in select_select_impl() 338 if (emax > max) max = emax; in select_select_impl()
|
/external/python/cpython3/Modules/_decimal/ |
D | _decimal.c | 741 Dec_CONTEXT_GET_SSIZE(emax) in Dec_CONTEXT_GET_SSIZE() argument 902 ctx->emax = x; in context_unsafe_setemax() 1251 PyObject *emax = Py_None; in context_init() local 1263 &prec, &rounding, &emin, &emax, &capitals, &clamp, &status, &traps in context_init() 1277 if (emax != Py_None && context_setemax(self, emax, NULL) < 0) { in context_init() 1348 ctx->prec, mpd_round_string[ctx->round], ctx->emin, ctx->emax, in context_repr() 1454 ctx->prec, mpd_round_string[ctx->round], ctx->emin, ctx->emax, in context_reduce() 4586 maxctx.emax = MPD_MAX_EMAX + 21; in _dec_hash()
|
/external/python/cpython3/Lib/test/ |
D | test_decimal.py | 1721 emax = C.MAX_EMAX if C else 999999999 1724 c = Context(Emax=emax, Emin=emin) 1727 c.prec = emax 1742 self.assertLessEqual(F(120984237, 9999999999), D("9e" + str(emax))) 1743 self.assertGreaterEqual(D("9e" + str(emax)), F(120984237, 9999999999)) 2863 emax = random.randrange(1, 100) 2870 prec=prec, Emin=emin, Emax=emax, 2885 self.assertEqual(d.Emax, emax) 5295 emax = random.randrange(0, 10000) 5299 c = Context(prec=prec, rounding=round, Emin=emin, Emax=emax, [all …]
|
/external/python/cpython2/Lib/ |
D | decimal.py | 2062 emax = p*93//65 2063 if ye >= len(str(emax)): 2072 if e > emax: 2090 emax = p*10//3 2091 if ye >= len(str(emax)): 2099 if e > emax:
|
/external/python/cpython3/Lib/ |
D | _pydecimal.py | 2178 emax = p*93//65 2179 if ye >= len(str(emax)): 2188 if e > emax: 2206 emax = p*10//3 2207 if ye >= len(str(emax)): 2215 if e > emax:
|
/external/python/cpython3/Lib/test/decimaltestdata/ |
D | dqBase.decTest | 26 -- to conform to emax and precision settings (that is, numbers will
|
D | dsBase.decTest | 26 -- to conform to emax and precision settings (that is, numbers will
|
D | ddBase.decTest | 26 -- to conform to emax and precision settings (that is, numbers will
|
/external/python/cpython2/Lib/test/decimaltestdata/ |
D | ddBase.decTest | 26 -- to conform to emax and precision settings (that is, numbers will
|
D | dsBase.decTest | 26 -- to conform to emax and precision settings (that is, numbers will
|
D | dqBase.decTest | 26 -- to conform to emax and precision settings (that is, numbers will
|