Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
Ddecimal.py1315 return _dec_from_triple(sign, '0', context.Etiny())
1658 Etiny = context.Etiny()
1662 new_exp = min(max(self._exp, Etiny), exp_max)
1679 self_is_subnormal = exp_min < Etiny
1681 exp_min = Etiny
2304 Etiny = context.Etiny()
2305 if bound >= len(str(-Etiny)):
2306 ans = _dec_from_triple(result_sign, '1', Etiny-1)
2454 if not (context.Etiny() <= exp._exp <= context.Emax):
2968 elif self._sign == 1 and adj > len(str((-context.Etiny()+1)*3)):
[all …]
/external/python/cpython3/Lib/
D_pydecimal.py1344 return _dec_from_triple(sign, '0', context.Etiny())
1677 Etiny = context.Etiny()
1681 new_exp = min(max(self._exp, Etiny), exp_max)
1698 self_is_subnormal = exp_min < Etiny
1700 exp_min = Etiny
2416 Etiny = context.Etiny()
2417 if bound >= len(str(-Etiny)):
2418 ans = _dec_from_triple(result_sign, '1', Etiny-1)
2556 if not (context.Etiny() <= exp._exp <= context.Emax):
3070 elif self._sign == 1 and adj > len(str((-context.Etiny()+1)*3)):
[all …]
/external/python/cpython3/Python/
Ddtoa.c246 #define Etiny (-1074) /* smallest denormal is 2**Etiny */ macro
1011 *e = Etiny - 1 + (int)((word0(d) & Exp_mask) >> Exp_shift); in sd2b()
1012 if (*e < Etiny) in sd2b()
1013 *e = Etiny; in sd2b()
1020 if (*e < Etiny) { in sd2b()
1021 scale = Etiny - *e; in sd2b()
1022 *e = Etiny; in sd2b()
/external/python/cpython2/Python/
Ddtoa.c255 #define Etiny (-1074) /* smallest denormal is 2**Etiny */ macro
1085 *e = Etiny - 1 + (int)((word0(d) & Exp_mask) >> Exp_shift); in sd2b()
1086 if (*e < Etiny) in sd2b()
1087 *e = Etiny; in sd2b()
1094 if (*e < Etiny) { in sd2b()
1095 scale = Etiny - *e; in sd2b()
1096 *e = Etiny; in sd2b()
/external/python/cpython2/Lib/test/decimaltestdata/
Dplus.decTest158 -- subnormals clamped to 0-Etiny
Dclamp.decTest187 -- subnormals clamped to 0-Etiny
DdsEncode.decTest37 -- bias = 101 (subtracted from encoded exponent) = -Etiny
Dpowersqrt.decTest2927 -- Etiny = -(Emax + (precision-1))
2931 precision: 9 -- Etiny=-17
2934 precision: 10 -- Etiny=-18
2938 precision: 11 -- Etiny=-19
2942 precision: 12 -- Etiny=-20
2946 precision: 13 -- Etiny=-21
2949 precision: 14 -- Etiny=-22
DdqEncode.decTest37 -- bias = 6176 (subtracted from encoded exponent) = -Etiny
DddEncode.decTest37 -- bias = 398 (subtracted from encoded exponent) = -Etiny
Dsquareroot.decTest2918 -- Etiny = -(Emax + (precision-1))
2922 precision: 9 -- Etiny=-17
2925 precision: 10 -- Etiny=-18
2929 precision: 11 -- Etiny=-19
2932 precision: 12 -- Etiny=-20
2936 precision: 13 -- Etiny=-21
2939 precision: 14 -- Etiny=-22
Drescale.decTest691 -- rhs must be no less than Etiny
Dquantize.decTest810 -- rhs must be no less than Etiny
/external/python/cpython3/Lib/test/decimaltestdata/
Dplus.decTest158 -- subnormals clamped to 0-Etiny
Dclamp.decTest187 -- subnormals clamped to 0-Etiny
DdsEncode.decTest37 -- bias = 101 (subtracted from encoded exponent) = -Etiny
Dpowersqrt.decTest2927 -- Etiny = -(Emax + (precision-1))
2931 precision: 9 -- Etiny=-17
2934 precision: 10 -- Etiny=-18
2938 precision: 11 -- Etiny=-19
2942 precision: 12 -- Etiny=-20
2946 precision: 13 -- Etiny=-21
2949 precision: 14 -- Etiny=-22
DddEncode.decTest37 -- bias = 398 (subtracted from encoded exponent) = -Etiny
DdqEncode.decTest37 -- bias = 6176 (subtracted from encoded exponent) = -Etiny
Dsquareroot.decTest2918 -- Etiny = -(Emax + (precision-1))
2922 precision: 9 -- Etiny=-17
2925 precision: 10 -- Etiny=-18
2929 precision: 11 -- Etiny=-19
2932 precision: 12 -- Etiny=-20
2936 precision: 13 -- Etiny=-21
2939 precision: 14 -- Etiny=-22
Drescale.decTest691 -- rhs must be no less than Etiny
Dquantize.decTest810 -- rhs must be no less than Etiny
/external/python/cpython2/Doc/library/
Ddecimal.rst813 :attr:`Etiny`.
1132 .. method:: Etiny()
1136 to :const:`Etiny`.
/external/python/cpython3/Doc/library/
Ddecimal.rst792 :attr:`Emax` or less than :attr:`Etiny`.
1110 .. method:: Etiny()
1114 to :const:`Etiny`.
/external/python/cpython3/Lib/test/
Dtest_decimal.py4991 self.assertEqual(c.Etiny(), -3033)