Home
last modified time | relevance | path

Searched refs:emax (Results 1 – 25 of 42) 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
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 …]
/third_party/python/Modules/_decimal/libmpdec/
Dcontext.c90 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()
/third_party/optimized-routines/math/tools/
Dplot.py50 emax = max(es)
51 ax0.text(a+(b-a)*0.7, emax*0.8, '%s\n%g'%(emax.hex(),emax))
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
DdecContext.cpp68 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()
DdecNumber.cpp731 || (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 …]
DdecContext.h92 int32_t emax; /* maximum positive exponent */ member
/third_party/icu/icu4c/source/i18n/
DdecContext.cpp68 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()
DdecNumber.cpp731 || (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 …]
DdecContext.h92 int32_t emax; /* maximum positive exponent */ member
/third_party/skia/third_party/externals/icu/source/i18n/
DdecContext.cpp68 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()
DdecNumber.cpp731 || (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 …]
DdecContext.h92 int32_t emax; /* maximum positive exponent */ member
/third_party/node/deps/icu-small/source/i18n/
DdecContext.cpp68 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()
DdecNumber.cpp731 || (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 …]
DdecContext.h92 int32_t emax; /* maximum positive exponent */ member
/third_party/optimized-routines/math/test/
Dulp.h24 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()
/third_party/FreeBSD/contrib/gdtoa/
Dstrtodg.c275 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;
Dgethex.c255 if (e > fpi->emax) {
339 if (++e > fpi->emax)
Dgdtoa.h90 int emax; member
/third_party/musl/porting/liteos_a/kernel/src/internal/
Dfloatscan.c74 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/
Dfloatscan.c74 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/
Dfloatscan.c74 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/
Dfloatscan.c74 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/
Dvf_waveform.c101 int *emax[4][4]; member
491 int *emax = s->emax[plane][component]; in envelope_peak16() local
505 for (y = end - 1; y >= start && y >= emax[x - offset]; y--) { in envelope_peak16()
508 emax[x - offset] = y; in envelope_peak16()
520 dst = (uint16_t *)out->data[component] + emax[x - offset] * dst_linesize + x; in envelope_peak16()
532 for (x = end - 1; x >= start && x >= emax[y - offset]; x--) { in envelope_peak16()
534 emax[y - offset] = x; in envelope_peak16()
546 dst = (uint16_t *)out->data[component] + y * dst_linesize + emax[y - offset]; in envelope_peak16()
560 int *emax = s->emax[plane][component]; in envelope_peak() local
574 for (y = end - 1; y >= start && y >= emax[x - offset]; y--) { in envelope_peak()
[all …]
/third_party/ffmpeg/libavutil/
Davsscanf.c256 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()

12