Home
last modified time | relevance | path

Searched refs:maxexp (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Modules/_decimal/tests/
Dranddec.py83 def expdigits(maxexp): argument
84 return str(randrange(maxexp))
86 def exponent_part(maxexp): argument
87 return ''.join((indicator(), sign(), expdigits(maxexp)))
102 def numeric_value(maxprec, maxexp): argument
107 exp_part = exponent_part(maxexp)
110 def numeric_string(maxprec, maxexp): argument
114 return ''.join((sign(), numeric_value(maxprec, maxexp)))
116 def randdec(maxprec, maxexp): argument
117 return numeric_string(maxprec, maxexp)
[all …]
/external/python/cpython3/Modules/_decimal/libmpdec/
Dmpdecimal.c7038 mpd_ssize_t shift, maxexp, maxshift; in mpd_qreduce() local
7062 maxexp = (ctx->clamp) ? mpd_etop(ctx) : ctx->emax; in mpd_qreduce()
7064 maxshift = maxexp - result->exp; in mpd_qreduce()
/external/icu/icu4c/source/i18n/
DdecNumber.cpp3113 Int maxexp=set->emax-set->digits+1; in uprv_decNumberSquareRoot() local
3114 Int maxdrop=maxexp-a->exponent; in uprv_decNumberSquareRoot()