Searched refs:Etiny (Results 1 – 25 of 25) sorted by relevance
/external/python/cpython2/Lib/ |
D | decimal.py | 1315 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.py | 1344 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/ |
D | dtoa.c | 246 #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/ |
D | dtoa.c | 255 #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/ |
D | plus.decTest | 158 -- subnormals clamped to 0-Etiny
|
D | clamp.decTest | 187 -- subnormals clamped to 0-Etiny
|
D | dsEncode.decTest | 37 -- bias = 101 (subtracted from encoded exponent) = -Etiny
|
D | powersqrt.decTest | 2927 -- 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
|
D | dqEncode.decTest | 37 -- bias = 6176 (subtracted from encoded exponent) = -Etiny
|
D | ddEncode.decTest | 37 -- bias = 398 (subtracted from encoded exponent) = -Etiny
|
D | squareroot.decTest | 2918 -- 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
|
D | rescale.decTest | 691 -- rhs must be no less than Etiny
|
D | quantize.decTest | 810 -- rhs must be no less than Etiny
|
/external/python/cpython3/Lib/test/decimaltestdata/ |
D | plus.decTest | 158 -- subnormals clamped to 0-Etiny
|
D | clamp.decTest | 187 -- subnormals clamped to 0-Etiny
|
D | dsEncode.decTest | 37 -- bias = 101 (subtracted from encoded exponent) = -Etiny
|
D | powersqrt.decTest | 2927 -- 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
|
D | ddEncode.decTest | 37 -- bias = 398 (subtracted from encoded exponent) = -Etiny
|
D | dqEncode.decTest | 37 -- bias = 6176 (subtracted from encoded exponent) = -Etiny
|
D | squareroot.decTest | 2918 -- 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
|
D | rescale.decTest | 691 -- rhs must be no less than Etiny
|
D | quantize.decTest | 810 -- rhs must be no less than Etiny
|
/external/python/cpython2/Doc/library/ |
D | decimal.rst | 813 :attr:`Etiny`. 1132 .. method:: Etiny() 1136 to :const:`Etiny`.
|
/external/python/cpython3/Doc/library/ |
D | decimal.rst | 792 :attr:`Emax` or less than :attr:`Etiny`. 1110 .. method:: Etiny() 1114 to :const:`Etiny`.
|
/external/python/cpython3/Lib/test/ |
D | test_decimal.py | 4991 self.assertEqual(c.Etiny(), -3033)
|