MCPcopy Index your code
hub / github.com/RustPython/RustPython / identical

Method identical

Lib/test/test_float.py:1168–1169  ·  view source on GitHub ↗
(self, x, y)

Source from the content-addressed store, hash-verified

1166 EPS = fromHex('0x0.0000000000001p0') # diff between 1.0 and next float up
1167
1168 def identical(self, x, y):
1169 self.assertFloatsAreIdentical(x, y)
1170
1171 def test_ends(self):
1172 self.identical(self.MIN, ldexp(1.0, -1022))

Callers 4

test_endsMethod · 0.95
test_whitespaceMethod · 0.95
test_from_hexMethod · 0.95
test_roundtripMethod · 0.95

Calls 1

Tested by

no test coverage detected