D | test_float.py | 969 def identical(self, x, y): member in HexFloatTestCase 980 self.identical(self.MIN, ldexp(1.0, -1022)) 981 self.identical(self.TINY, ldexp(1.0, -1074)) 982 self.identical(self.EPS, ldexp(1.0, -52)) 983 self.identical(self.MAX, 2.*(ldexp(1.0, 1023) - ldexp(1.0, 970))) 1072 self.identical(got, expected) 1082 self.identical(fromHex('inf'), INF) 1083 self.identical(fromHex('+Inf'), INF) 1084 self.identical(fromHex('-INF'), -INF) 1085 self.identical(fromHex('iNf'), INF) [all …]
|