Home
last modified time | relevance | path

Searched refs:emin (Results 1 – 25 of 35) sorted by relevance

12

/third_party/python/Modules/_decimal/tests/
Dranddec.py191 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
218 def close_to_emax_greater(prec, emax, emin): argument
224 def close_to_emin_greater(prec, emax, emin): argument
227 str(randrange(rprec)), "E", str(emin)))
229 def close_to_emin_less(prec, emax, emin): argument
232 str(randrange(rprec)), "E", str(emin-1)))
[all …]
Ddeccheck.py941 emin, emax = expts
942 if emin == 'rand':
946 context.Emin, context.Emax = emin, emax
/third_party/python/Modules/_decimal/libmpdec/
Dcontext.c91 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()
/third_party/musl/porting/liteos_a/kernel/src/internal/
Dfloatscan.c63 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-2*LDBL_MANT_DIG) { in hexfloat()
[all …]
/third_party/musl/porting/uniproton/kernel/src/internal/
Dfloatscan.c63 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-2*LDBL_MANT_DIG) { in hexfloat()
[all …]
/third_party/musl/porting/liteos_m/kernel/src/internal/
Dfloatscan.c63 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-2*LDBL_MANT_DIG) { in hexfloat()
[all …]
/third_party/musl/src/internal/
Dfloatscan.c63 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-2*LDBL_MANT_DIG) { in hexfloat()
[all …]
/third_party/ffmpeg/libavutil/
Davsscanf.c245 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-2*DBL_MANT_DIG) { in hexfloat()
[all …]
/third_party/FreeBSD/contrib/gdtoa/
Dstrtodg.c250 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)
738 if (i < emin) /* denormal */
[all …]
Dgethex.c198 *exp = fpi->emin;
265 if (e < fpi->emin) {
267 n = fpi->emin - e;
284 *exp = fpi->emin;
308 e = fpi->emin;
Dgdtoa.h89 int emin; member
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
DdecContext.cpp69 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()
DdecNumber.cpp730 if ((dn->exponent-1<set->emin-dn->digits) in uprv_decNumberFromString()
1159 dcmul.emin=DEC_MIN_EMIN; /* [thanks to Math restrictions] */ in uprv_decNumberFMA()
1505 aset.emin=-DEC_MAX_MATH; /* .. */ in uprv_decNumberLog10()
2127 aset.emin=-DEC_MAX_MATH; /* .. */ in uprv_decNumberPower()
2954 workset.emin=DEC_MIN_EMIN; in uprv_decNumberSquareRoot()
3060 approxset.emin-=exp/2; /* adjust to match a */ in uprv_decNumberSquareRoot()
3074 approxset.emin-=exp/2; /* adjust to match a */ in uprv_decNumberSquareRoot()
3139 if (ae>=set->emin*2) status&=~(DEC_Subnormal|DEC_Underflow); in uprv_decNumberSquareRoot()
3141 if (ae>=set->emin*2) status&=~DEC_Underflow; in uprv_decNumberSquareRoot()
3559 if (ae<set->emin) return 0; /* is subnormal */ in uprv_decNumberIsNormal()
[all …]
DdecContext.h93 int32_t emin; /* minimum negative exponent */ member
/third_party/icu/icu4c/source/i18n/
DdecContext.cpp69 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()
DdecNumber.cpp730 if ((dn->exponent-1<set->emin-dn->digits) in uprv_decNumberFromString()
1159 dcmul.emin=DEC_MIN_EMIN; /* [thanks to Math restrictions] */ in uprv_decNumberFMA()
1505 aset.emin=-DEC_MAX_MATH; /* .. */ in uprv_decNumberLog10()
2127 aset.emin=-DEC_MAX_MATH; /* .. */ in uprv_decNumberPower()
2954 workset.emin=DEC_MIN_EMIN; in uprv_decNumberSquareRoot()
3060 approxset.emin-=exp/2; /* adjust to match a */ in uprv_decNumberSquareRoot()
3074 approxset.emin-=exp/2; /* adjust to match a */ in uprv_decNumberSquareRoot()
3139 if (ae>=set->emin*2) status&=~(DEC_Subnormal|DEC_Underflow); in uprv_decNumberSquareRoot()
3141 if (ae>=set->emin*2) status&=~DEC_Underflow; in uprv_decNumberSquareRoot()
3559 if (ae<set->emin) return 0; /* is subnormal */ in uprv_decNumberIsNormal()
[all …]
DdecContext.h93 int32_t emin; /* minimum negative exponent */ member
/third_party/skia/third_party/externals/icu/source/i18n/
DdecContext.cpp69 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()
DdecNumber.cpp730 if ((dn->exponent-1<set->emin-dn->digits) in uprv_decNumberFromString()
1159 dcmul.emin=DEC_MIN_EMIN; /* [thanks to Math restrictions] */ in uprv_decNumberFMA()
1505 aset.emin=-DEC_MAX_MATH; /* .. */ in uprv_decNumberLog10()
2127 aset.emin=-DEC_MAX_MATH; /* .. */ in uprv_decNumberPower()
2954 workset.emin=DEC_MIN_EMIN; in uprv_decNumberSquareRoot()
3060 approxset.emin-=exp/2; /* adjust to match a */ in uprv_decNumberSquareRoot()
3074 approxset.emin-=exp/2; /* adjust to match a */ in uprv_decNumberSquareRoot()
3139 if (ae>=set->emin*2) status&=~(DEC_Subnormal|DEC_Underflow); in uprv_decNumberSquareRoot()
3141 if (ae>=set->emin*2) status&=~DEC_Underflow; in uprv_decNumberSquareRoot()
3559 if (ae<set->emin) return 0; /* is subnormal */ in uprv_decNumberIsNormal()
[all …]
DdecContext.h93 int32_t emin; /* minimum negative exponent */ member
/third_party/node/deps/icu-small/source/i18n/
DdecContext.cpp69 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()
DdecNumber.cpp730 if ((dn->exponent-1<set->emin-dn->digits) in uprv_decNumberFromString()
1159 dcmul.emin=DEC_MIN_EMIN; /* [thanks to Math restrictions] */ in uprv_decNumberFMA()
1505 aset.emin=-DEC_MAX_MATH; /* .. */ in uprv_decNumberLog10()
2127 aset.emin=-DEC_MAX_MATH; /* .. */ in uprv_decNumberPower()
2954 workset.emin=DEC_MIN_EMIN; in uprv_decNumberSquareRoot()
3060 approxset.emin-=exp/2; /* adjust to match a */ in uprv_decNumberSquareRoot()
3074 approxset.emin-=exp/2; /* adjust to match a */ in uprv_decNumberSquareRoot()
3139 if (ae>=set->emin*2) status&=~(DEC_Subnormal|DEC_Underflow); in uprv_decNumberSquareRoot()
3141 if (ae>=set->emin*2) status&=~DEC_Underflow; in uprv_decNumberSquareRoot()
3559 if (ae<set->emin) return 0; /* is subnormal */ in uprv_decNumberIsNormal()
[all …]
DdecContext.h93 int32_t emin; /* minimum negative exponent */ member
/third_party/optimized-routines/math/test/
Dulp.h22 if (e < RT(emin)) in RT()
23 e = RT(emin) - 1; in RT()
29 return RT(emin) - 1; in RT()
197 mpfr_set_emin (RT(emin)); in T()
/third_party/ffmpeg/libavfilter/
Dvf_waveform.c102 int *emin[4][4]; member
492 int *emin = s->emin[plane][component]; in envelope_peak16() local
498 for (y = start; y < end && y < emin[x - offset]; y++) { in envelope_peak16()
501 emin[x - offset] = y; in envelope_peak16()
518 dst = (uint16_t *)out->data[component] + emin[x - offset] * dst_linesize + x; in envelope_peak16()
526 for (x = start; x < end && x < emin[y - offset]; x++) { in envelope_peak16()
528 emin[y - offset] = x; in envelope_peak16()
544 dst = (uint16_t *)out->data[component] + y * dst_linesize + emin[y - offset]; in envelope_peak16()
561 int *emin = s->emin[plane][component]; in envelope_peak() local
567 for (y = start; y < end && y < emin[x - offset]; y++) { in envelope_peak()
[all …]

12