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

Method test_ends

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

Source from the content-addressed store, hash-verified

1169 self.assertFloatsAreIdentical(x, y)
1170
1171 def test_ends(self):
1172 self.identical(self.MIN, ldexp(1.0, -1022))
1173 self.identical(self.TINY, ldexp(1.0, -1074))
1174 self.identical(self.EPS, ldexp(1.0, -52))
1175 self.identical(self.MAX, 2.*(ldexp(1.0, 1023) - ldexp(1.0, 970)))
1176
1177 def test_invalid_inputs(self):
1178 invalid_inputs = [

Callers

nothing calls this directly

Calls 2

identicalMethod · 0.95
ldexpFunction · 0.90

Tested by

no test coverage detected