/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): 213 def close_to_emax_less(prec, emax, emin): 218 def close_to_emax_greater(prec, emax, emin): 223 # Close to emin: 224 def close_to_emin_greater(prec, emax, emin): 227 str(randrange(rprec)), "E", str(emin))) 229 def close_to_emin_less(prec, emax, emin) [all...] |
H A D | deccheck.py | 941 emin, emax = expts 942 if emin == 'rand': 946 context.Emin, context.Emax = emin, emax 948 log(" prec: %d emin: %d emax: %d", 1182 # Contexts with small values for prec, emin, emax.
|
/third_party/python/Modules/_decimal/libmpdec/ |
H A D | context.c | 91 ctx->emin=MPD_MIN_EMIN; in mpd_maxcontext() 105 ctx->emin=MPD_MIN_EMIN; in mpd_defaultcontext() 119 ctx->emin=MPD_MIN_EMIN; in mpd_basiccontext() 137 ctx->emin = 1 - ctx->emax; in mpd_ieee_context() 163 return ctx->emin; in mpd_getemin() 218 mpd_qsetemin(mpd_context_t *ctx, mpd_ssize_t emin) in mpd_qsetemin() argument 220 if (emin > 0 || emin < MPD_MIN_EMIN) { in mpd_qsetemin() 223 ctx->emin = emin; in mpd_qsetemin() [all...] |
H A D | mpdecimal.c | 211 return ctx->emin - (ctx->prec - 1); in mpd_etiny() 356 return mpd_adjexp(dec) >= ctx->emin; in mpd_isnormal() 366 return mpd_adjexp(dec) < ctx->emin; in mpd_issubnormal() 754 workctx->emin = ctx->emin; in mpd_workcontext() 1880 if (!mpd_iszerocoeff(dec) && adjexp < ctx->emin) { in _mpd_check_exp() 1881 /* Underflow is impossible, since exp < etiny=emin-prec+1 in _mpd_check_exp() 1882 * and exp > etop=emax-prec+1 would imply emax < emin. */ in _mpd_check_exp() 1886 else if (adjexp < ctx->emin) { in _mpd_check_exp() 1901 /* At this point adjexp=exp+digits-1 < emin an in _mpd_check_exp() [all...] |
/third_party/musl/porting/liteos_a/kernel/src/internal/ |
H A D | floatscan.c | 63 static long double decfloat(FILE *f, int c, int bits, int emin, int sign, int pok) in decfloat() argument 74 int emax = -emin-bits+3; in decfloat() 145 if (lrp > -emin/2) { in decfloat() 149 if (lrp < emin-2*LDBL_MANT_DIG) { in decfloat() 266 if (bits > LDBL_MANT_DIG+e2-emin) { in decfloat() 267 bits = LDBL_MANT_DIG+e2-emin; in decfloat() 302 if (denormal && bits==LDBL_MANT_DIG+e2-emin) in decfloat() 314 static long double hexfloat(FILE *f, int bits, int emin, int sign, int pok) in hexfloat() argument 388 if (e2 > -emin) { in hexfloat() 392 if (e2 < emin in hexfloat() 431 int emin; __floatscan() local [all...] |
/third_party/musl/porting/liteos_m/kernel/src/internal/ |
H A D | floatscan.c | 63 static long double decfloat(FILE *f, int c, int bits, int emin, int sign, int pok)
in decfloat() argument 74 int emax = -emin-bits+3;
in decfloat() 145 if (lrp > -emin/2) {
in decfloat() 149 if (lrp < emin-2*LDBL_MANT_DIG) {
in decfloat() 266 if (bits > LDBL_MANT_DIG+e2-emin) {
in decfloat() 267 bits = LDBL_MANT_DIG+e2-emin;
in decfloat() 302 if (denormal && bits==LDBL_MANT_DIG+e2-emin)
in decfloat() 314 static long double hexfloat(FILE *f, int bits, int emin, int sign, int pok)
in hexfloat() argument 388 if (e2 > -emin) {
in hexfloat() 392 if (e2 < emin in hexfloat() 431 int emin; __floatscan() local [all...] |
/third_party/musl/porting/uniproton/kernel/src/internal/ |
H A D | floatscan.c | 63 static long double decfloat(FILE *f, int c, int bits, int emin, int sign, int pok)
in decfloat() argument 74 int emax = -emin-bits+3;
in decfloat() 145 if (lrp > -emin/2) {
in decfloat() 149 if (lrp < emin-2*LDBL_MANT_DIG) {
in decfloat() 266 if (bits > LDBL_MANT_DIG+e2-emin) {
in decfloat() 267 bits = LDBL_MANT_DIG+e2-emin;
in decfloat() 302 if (denormal && bits==LDBL_MANT_DIG+e2-emin)
in decfloat() 314 static long double hexfloat(FILE *f, int bits, int emin, int sign, int pok)
in hexfloat() argument 388 if (e2 > -emin) {
in hexfloat() 392 if (e2 < emin in hexfloat() 431 int emin; __floatscan() local [all...] |
/third_party/musl/src/internal/ |
H A D | floatscan.c | 63 static long double decfloat(FILE *f, int c, int bits, int emin, int sign, int pok) in decfloat() argument 74 int emax = -emin-bits+3; in decfloat() 145 if (lrp > -emin/2) { in decfloat() 149 if (lrp < emin-2*LDBL_MANT_DIG) { in decfloat() 266 if (bits > LDBL_MANT_DIG+e2-emin) { in decfloat() 267 bits = LDBL_MANT_DIG+e2-emin; in decfloat() 302 if (denormal && bits==LDBL_MANT_DIG+e2-emin) in decfloat() 314 static long double hexfloat(FILE *f, int bits, int emin, int sign, int pok) in hexfloat() argument 388 if (e2 > -emin) { in hexfloat() 392 if (e2 < emin in hexfloat() 431 int emin; __floatscan() local [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | avsscanf.c | 245 static double decfloat(FFFILE *f, int c, int bits, int emin, int sign, int pok) in decfloat() argument 256 int emax = -emin-bits+3; in decfloat() 327 if (lrp > -emin/2) { in decfloat() 331 if (lrp < emin-2*DBL_MANT_DIG) { in decfloat() 449 if (bits > DBL_MANT_DIG+e2-emin) { in decfloat() 450 bits = DBL_MANT_DIG+e2-emin; in decfloat() 485 if (denormal && bits==DBL_MANT_DIG+e2-emin) in decfloat() 497 static double hexfloat(FFFILE *f, int bits, int emin, int sign, int pok) in hexfloat() argument 572 if (e2 > -emin) { in hexfloat() 576 if (e2 < emin in hexfloat() 615 int emin; fffloatscan() local [all...] |
/third_party/FreeBSD/contrib/gdtoa/ |
H A D | strtodg.c | 250 if (e < fpi->emin) { 251 k = fpi->emin - e; 252 e = fpi->emin; 326 int dsign, e, e1, e2, emin, esign, finished, i, inex, irv; local 680 if (e2 < (emin = fpi->emin)) { 682 j = rve - emin; 694 *exp = emin; 703 rve = rve1 = emin; 704 if (sudden_underflow && e2 + 1 < emin) [all...] |
H A D | gethex.c | 198 *exp = fpi->emin; 265 if (e < fpi->emin) { 267 n = fpi->emin - e; 284 *exp = fpi->emin; 308 e = fpi->emin;
|
H A D | gdtoa.h | 89 int emin; member
|
/third_party/icu/icu4c/source/i18n/ |
H A D | decContext.cpp | 69 context->emin=DEC_MIN_EMIN; /* .. balanced */ in uprv_decContextDefault() 84 context->emin=-95; /* Emin */ in uprv_decContextDefault() 95 context->emin=-383; /* Emin */ in uprv_decContextDefault() 106 context->emin=-6143; /* Emin */ 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 */ 730 if ((dn->exponent-1<set->emin-dn->digits) in uprv_decNumberFromString() 1159 dcmul.emin=DEC_MIN_EMIN; /* [thanks to Math restrictions] */ in uprv_decNumberFMA() 1171 /*printf("emin=%ld\n", dcmul.emin); */ in uprv_decNumberFMA() 1349 /* same value. The exponent is not limited by emin/emax. */ 1505 aset.emin=-DEC_MAX_MATH; /* .. */ in uprv_decNumberLog10() 2127 aset.emin=-DEC_MAX_MATH; /* .. */ in uprv_decNumberPower() 2954 workset.emin in uprv_decNumberSquareRoot() 8007 Int emin, emax; /* .. */ global() local [all...] |
H A D | decContext.h | 48 /* emin -- must be in the range 0 through -999999999 */ 93 int32_t emin; /* minimum negative exponent */ member
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | decContext.cpp | 69 context->emin=DEC_MIN_EMIN; /* .. balanced */ in uprv_decContextDefault() 84 context->emin=-95; /* Emin */ in uprv_decContextDefault() 95 context->emin=-383; /* Emin */ in uprv_decContextDefault() 106 context->emin=-6143; /* Emin */ 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 */ 730 if ((dn->exponent-1<set->emin-dn->digits) in uprv_decNumberFromString() 1159 dcmul.emin=DEC_MIN_EMIN; /* [thanks to Math restrictions] */ in uprv_decNumberFMA() 1171 /*printf("emin=%ld\n", dcmul.emin); */ in uprv_decNumberFMA() 1349 /* same value. The exponent is not limited by emin/emax. */ 1505 aset.emin=-DEC_MAX_MATH; /* .. */ in uprv_decNumberLog10() 2127 aset.emin=-DEC_MAX_MATH; /* .. */ in uprv_decNumberPower() 2954 workset.emin in uprv_decNumberSquareRoot() 8007 Int emin, emax; /* .. */ global() local [all...] |
H A D | decContext.h | 48 /* emin -- must be in the range 0 through -999999999 */ 93 int32_t emin; /* minimum negative exponent */ member
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | decContext.cpp | 69 context->emin=DEC_MIN_EMIN; /* .. balanced */ in uprv_decContextDefault() 84 context->emin=-95; /* Emin */ in uprv_decContextDefault() 95 context->emin=-383; /* Emin */ in uprv_decContextDefault() 106 context->emin=-6143; /* Emin */ 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 */ 730 if ((dn->exponent-1<set->emin-dn->digits) in uprv_decNumberFromString() 1159 dcmul.emin=DEC_MIN_EMIN; /* [thanks to Math restrictions] */ in uprv_decNumberFMA() 1171 /*printf("emin=%ld\n", dcmul.emin); */ in uprv_decNumberFMA() 1349 /* same value. The exponent is not limited by emin/emax. */ 1505 aset.emin=-DEC_MAX_MATH; /* .. */ in uprv_decNumberLog10() 2127 aset.emin=-DEC_MAX_MATH; /* .. */ in uprv_decNumberPower() 2954 workset.emin in uprv_decNumberSquareRoot() 8007 Int emin, emax; /* .. */ global() local [all...] |
H A D | decContext.h | 48 /* emin -- must be in the range 0 through -999999999 */ 93 int32_t emin; /* minimum negative exponent */ member
|
/third_party/optimized-routines/math/test/ |
H A D | ulp.h | 22 if (e < RT(emin)) in ulpscale_mpfr() 23 e = RT(emin) - 1; in ulpscale_mpfr() 29 return RT(emin) - 1; in ulpscale_mpfr() 197 mpfr_set_emin (RT(emin)); in call_mpfr_fix()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_waveform.c | 107 int *emin[4][4]; member 503 int *emin = s->emin[plane][component]; in envelope_peak16() local 509 for (y = start; y < end && y < emin[x - offset]; y++) { in envelope_peak16() 512 emin[x - offset] = y; in envelope_peak16() 529 dst = (uint16_t *)out->data[component] + emin[x - offset] * dst_linesize + x; in envelope_peak16() 537 for (x = start; x < end && x < emin[y - offset]; x++) { in envelope_peak16() 539 emin[y - offset] = x; in envelope_peak16() 555 dst = (uint16_t *)out->data[component] + y * dst_linesize + emin[y - offset]; in envelope_peak16() 572 int *emin in envelope_peak() local [all...] |
/third_party/python/Modules/_decimal/ |
H A D | _decimal.c | 744 Dec_CONTEXT_GET_SSIZE(emin) 881 "valid range for unsafe emin is [-1070000000, 0]"); in context_unsafe_setemin() 884 ctx->emin = x; in context_unsafe_setemin() 1161 PyObject *emin, PyObject *emax, PyObject *capitals, in context_setattrs() 1171 if (emin != Py_None && context_setemin(self, emin, NULL) < 0) { in context_setattrs() 1313 PyObject *emin = 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, ct 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...] |
/third_party/python/Lib/test/ |
H A D | test_decimal.py | 1795 emin = C.MIN_EMIN if C else -999999999 1797 c = Context(Emax=emax, Emin=emin) 2960 emin = random.randrange(-100, 0) 2968 prec=prec, Emin=emin, Emax=emax, 2982 self.assertEqual(d.Emin, emin) 5435 emin = random.randrange(-10000, 0) 5440 c = Context(prec=prec, rounding=round, Emin=emin, Emax=emax, 5446 self.assertEqual(c.Emin, emin)
|