Home
last modified time | relevance | path

Searched refs:etiny (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Modules/_decimal/tests/
Dranddec.py237 etiny = emin - (prec - 1)
239 str(randrange(rprec)), "E", str(etiny)))
243 etiny = emin - (prec - 1)
245 str(randrange(rprec)), "E", str(etiny-1)))
250 etiny = min_emin - (max_prec - 1)
252 str(randrange(rprec)), "E", str(etiny)))
256 etiny = min_emin - (max_prec - 1)
258 str(randrange(rprec)), "E", str(etiny-1)))
/external/icu/icu4c/source/i18n/
DdecNumber.cpp5888 Int etiny=set->emin-(reqdigits-1); local
5935 if (!set->extended) etiny=set->emin; /* no subnormals */
5940 || (reqexp<etiny) /* < lowest */
7478 Int etiny, adjust; /* .. */ local
7492 etiny=set->emin-(set->digits-1); /* smallest allowed exponent */
7502 if (dn->exponent<etiny) { /* clamp required */
7503 dn->exponent=etiny;
7510 adjust=etiny-dn->exponent; /* calculate digits to remove */
7534 if (dn->exponent>etiny) {
/external/python/cpython2/Lib/test/
Dtest_math.py474 etiny = float_info.min_exp - mant_dig
496 tail = max(len(bin(abs(tmant)))-2 - mant_dig, etiny - texp)
/external/python/cpython3/Modules/_decimal/libmpdec/
Dmpdecimal.c1742 mpd_ssize_t adjexp, etiny, shift; in _mpd_check_exp() local
1811 etiny = mpd_etiny(ctx); in _mpd_check_exp()
1814 if (dec->exp < etiny) { in _mpd_check_exp()
1815 dec->exp = etiny; in _mpd_check_exp()
1823 if (dec->exp < etiny) { in _mpd_check_exp()
1827 shift = etiny - dec->exp; in _mpd_check_exp()
1829 dec->exp = etiny; in _mpd_check_exp()
/external/python/cpython3/Lib/test/
Dtest_math.py605 etiny = float_info.min_exp - mant_dig
627 tail = max(len(bin(abs(tmant)))-2 - mant_dig, etiny - texp)
Dtest_decimal.py1723 etiny = C.MIN_ETINY if C else -1999999997
1730 self.assertLess(F(0,1), D("1e" + str(etiny)))
1731 self.assertLess(D("-1e" + str(etiny)), F(0,1))
1732 self.assertLess(F(0,9999999999999999999999999), D("1e" + str(etiny)))
1733 self.assertLess(D("-1e" + str(etiny)), F(0,9999999999999999999999999))