/third_party/python/Modules/_decimal/tests/ |
H A D | randdec.py | 191 def close_to_one_greater(prec, emax, emin): 196 def close_to_one_less(prec, emax, emin): 202 def close_to_zero_greater(prec, emax, emin): 207 def close_to_zero_less(prec, emax, emin): 212 # Close to emax: 213 def close_to_emax_less(prec, emax, emin): 216 str(randrange(rprec)), "E", str(emax))) 218 def close_to_emax_greater(prec, emax, emin): 221 str(randrange(rprec)), "E", str(emax+1))) 224 def close_to_emin_greater(prec, emax, emi [all...] |
/third_party/python/Modules/_decimal/libmpdec/ |
H A 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 in mpd_qsetemax() [all...] |
H A 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() 1871 /* At this point adjexp=exp+digits-1 <= emax and exp > etop=emax in _mpd_check_exp() [all...] |
/third_party/optimized-routines/math/tools/ |
H A D | plot.py | 50 emax = max(es) 51 ax0.text(a+(b-a)*0.7, emax*0.8, '%s\n%g'%(emax.hex(),emax))
|
/third_party/icu/icu4c/source/i18n/ |
H A 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()
|
H A D | decNumber.cpp | 66 /* tightly: digits, emax, and -emin in the context must be <= */ 501 /* exponent (set.emax and set.emin), determining if */ 731 || (dn->exponent-1>set->emax-set->digits)) { in uprv_decNumberFromString() 1158 dcmul.emax=DEC_MAX_EMAX; /* effectively unbounded .. */ in uprv_decNumberFMA() 1349 /* same value. The exponent is not limited by emin/emax. */ 1504 aset.emax=DEC_MAX_MATH; /* usual bounds */ in uprv_decNumberLog10() 2126 aset.emax=DEC_MAX_MATH; /* usual bounds */ in uprv_decNumberPower() 2632 /* maximum magnitude 2*(emax+digits) */ 2664 || abs(reqexp)>(2*(set->digits+set->emax))) /* .. or out of range */ in uprv_decNumberScaleB() 2953 workset.emax in uprv_decNumberSquareRoot() 7400 Int emax=set->emax; /* limit value */ global() local 8007 Int emin, emax; /* .. */ global() local [all...] |
H A D | decContext.h | 47 /* emax -- must be in the range 0 through 999999999 */ 92 int32_t emax; /* maximum positive exponent */ member 110 #define DEC_MAX_MATH 999999 /* max emax, etc., for math funcs. */
|
/third_party/node/deps/icu-small/source/i18n/ |
H A 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()
|
H A D | decNumber.cpp | 66 /* tightly: digits, emax, and -emin in the context must be <= */ 501 /* exponent (set.emax and set.emin), determining if */ 731 || (dn->exponent-1>set->emax-set->digits)) { in uprv_decNumberFromString() 1158 dcmul.emax=DEC_MAX_EMAX; /* effectively unbounded .. */ in uprv_decNumberFMA() 1349 /* same value. The exponent is not limited by emin/emax. */ 1504 aset.emax=DEC_MAX_MATH; /* usual bounds */ in uprv_decNumberLog10() 2126 aset.emax=DEC_MAX_MATH; /* usual bounds */ in uprv_decNumberPower() 2632 /* maximum magnitude 2*(emax+digits) */ 2664 || abs(reqexp)>(2*(set->digits+set->emax))) /* .. or out of range */ in uprv_decNumberScaleB() 2953 workset.emax in uprv_decNumberSquareRoot() 7400 Int emax=set->emax; /* limit value */ global() local 8007 Int emin, emax; /* .. */ global() local [all...] |
H A D | decContext.h | 47 /* emax -- must be in the range 0 through 999999999 */ 92 int32_t emax; /* maximum positive exponent */ member 110 #define DEC_MAX_MATH 999999 /* max emax, etc., for math funcs. */
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A 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()
|
H A D | decNumber.cpp | 66 /* tightly: digits, emax, and -emin in the context must be <= */ 501 /* exponent (set.emax and set.emin), determining if */ 731 || (dn->exponent-1>set->emax-set->digits)) { in uprv_decNumberFromString() 1158 dcmul.emax=DEC_MAX_EMAX; /* effectively unbounded .. */ in uprv_decNumberFMA() 1349 /* same value. The exponent is not limited by emin/emax. */ 1504 aset.emax=DEC_MAX_MATH; /* usual bounds */ in uprv_decNumberLog10() 2126 aset.emax=DEC_MAX_MATH; /* usual bounds */ in uprv_decNumberPower() 2632 /* maximum magnitude 2*(emax+digits) */ 2664 || abs(reqexp)>(2*(set->digits+set->emax))) /* .. or out of range */ in uprv_decNumberScaleB() 2953 workset.emax in uprv_decNumberSquareRoot() 7400 Int emax=set->emax; /* limit value */ global() local 8007 Int emin, emax; /* .. */ global() local [all...] |
H A D | decContext.h | 47 /* emax -- must be in the range 0 through 999999999 */ 92 int32_t emax; /* maximum positive exponent */ member 110 #define DEC_MAX_MATH 999999 /* max emax, etc., for math funcs. */
|
/third_party/FreeBSD/contrib/gdtoa/ |
H A D | strtodg.c | 275 else if (e > fpi->emax) { 276 e = fpi->emax + 1; 514 *exp = fpi->emax + 1; 677 if (e2 > fpi->emax + 1) 1003 if (rve > fpi->emax) { 1019 *exp = fpi->emax; 1034 *exp = fpi->emax + 1;
|
H A D | gethex.c | 255 if (e > fpi->emax) { 339 if (++e > fpi->emax)
|
H A D | gdtoa.h | 90 int emax; member
|
/third_party/optimized-routines/math/test/ |
H A D | ulp.h | 24 if (e > RT(emax) - RT(prec)) in ulpscale_mpfr() 25 e = RT(emax) - RT(prec); in ulpscale_mpfr() 31 return RT(emax) - RT(prec); in ulpscale_mpfr() 198 mpfr_set_emax (RT(emax)); in call_mpfr_fix()
|
/third_party/musl/porting/liteos_a/kernel/src/internal/ |
H A D | floatscan.c | 74 int emax = -emin-bits+3; in decfloat() local 300 if ((e2+LDBL_MANT_DIG & INT_MAX) > emax-5) { in decfloat() 307 if (e2+LDBL_MANT_DIG>emax || (denormal && frac)) in decfloat()
|
/third_party/musl/porting/liteos_m/kernel/src/internal/ |
H A D | floatscan.c | 74 int emax = -emin-bits+3;
in decfloat() local 300 if (((e2+LDBL_MANT_DIG) & INT_MAX) > emax-5) {
in decfloat() 307 if (e2+LDBL_MANT_DIG>emax || (denormal && frac))
in decfloat()
|
/third_party/musl/porting/uniproton/kernel/src/internal/ |
H A D | floatscan.c | 74 int emax = -emin-bits+3;
in decfloat() local 300 if (((e2+LDBL_MANT_DIG) & INT_MAX) > emax-5) {
in decfloat() 307 if (e2+LDBL_MANT_DIG>emax || (denormal && frac))
in decfloat()
|
/third_party/musl/src/internal/ |
H A D | floatscan.c | 74 int emax = -emin-bits+3; in decfloat() local 300 if ((e2+LDBL_MANT_DIG & INT_MAX) > emax-5) { in decfloat() 307 if (e2+LDBL_MANT_DIG>emax || (denormal && frac)) in decfloat()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_waveform.c | 106 int *emax[4][4]; member 502 int *emax = s->emax[plane][component]; in envelope_peak16() local 516 for (y = end - 1; y >= start && y >= emax[x - offset]; y--) { in envelope_peak16() 519 emax[x - offset] = y; in envelope_peak16() 531 dst = (uint16_t *)out->data[component] + emax[x - offset] * dst_linesize + x; in envelope_peak16() 543 for (x = end - 1; x >= start && x >= emax[y - offset]; x--) { in envelope_peak16() 545 emax[y - offset] = x; in envelope_peak16() 557 dst = (uint16_t *)out->data[component] + y * dst_linesize + emax[y - offset]; in envelope_peak16() 571 int *emax in envelope_peak() local [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | avsscanf.c | 256 int emax = -emin-bits+3; in decfloat() local 483 if ((e2+DBL_MANT_DIG & INT_MAX) > emax-5) { in decfloat() 490 if (e2+DBL_MANT_DIG>emax || (denormal && frac)) in decfloat()
|
/third_party/python/Modules/ |
H A D | selectmodule.c | 276 int imax, omax, emax, max; in select_select_impl() local 324 if ((emax = seq2set(xlist, &efdset, efd2obj)) < 0) in select_select_impl() 329 if (emax > max) max = emax; in select_select_impl() 342 emax ? &efdset : NULL, in select_select_impl()
|
/third_party/python/Modules/_decimal/ |
H A D | _decimal.c | 743 Dec_CONTEXT_GET_SSIZE(emax) 901 "valid range for unsafe emax is [0, 1070000000]"); in context_unsafe_setemax() 904 ctx->emax = x; in context_unsafe_setemax() 1161 PyObject *emin, PyObject *emax, PyObject *capitals, in context_setattrs() 1174 if (emax != Py_None && context_setemax(self, emax, NULL) < 0) { in context_setattrs() 1314 PyObject *emax = Py_None; in context_init() local 1325 &prec, &rounding, &emin, &emax, &capitals, &clamp, &status, &traps in context_init() 1332 emin, emax, capitals, in context_init() 1362 ctx->prec, mpd_round_string[ctx->round], ctx->emin, ctx->emax, in context_repr() 1160 context_setattrs(PyObject *self, PyObject *prec, PyObject *rounding, PyObject *emin, PyObject *emax, PyObject *capitals, PyObject *clamp, PyObject *status, PyObject *traps) context_setattrs() argument [all...] |