MCPcopy Index your code
hub / github.com/python/cpython / test_ends

Method test_ends

Lib/test/test_float.py:1166–1170  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1164 self.assertFloatsAreIdentical(x, y)
1165
1166 def test_ends(self):
1167 self.identical(self.MIN, ldexp(1.0, -1022))
1168 self.identical(self.TINY, ldexp(1.0, -1074))
1169 self.identical(self.EPS, ldexp(1.0, -52))
1170 self.identical(self.MAX, 2.*(ldexp(1.0, 1023) - ldexp(1.0, 970)))
1171
1172 def test_invalid_inputs(self):
1173 invalid_inputs = [

Callers

nothing calls this directly

Calls 1

identicalMethod · 0.95

Tested by

no test coverage detected