D | test_float.py | 1029 def identical(self, x, y): member in HexFloatTestCase 1040 self.identical(self.MIN, ldexp(1.0, -1022)) 1041 self.identical(self.TINY, ldexp(1.0, -1074)) 1042 self.identical(self.EPS, ldexp(1.0, -52)) 1043 self.identical(self.MAX, 2.*(ldexp(1.0, 1023) - ldexp(1.0, 970))) 1132 self.identical(got, expected) 1142 self.identical(fromHex('inf'), INF) 1143 self.identical(fromHex('+Inf'), INF) 1144 self.identical(fromHex('-INF'), -INF) 1145 self.identical(fromHex('iNf'), INF) [all …]
|