(self)
| 196 | |
| 197 | @unittest.expectedFailure # TODO: RUSTPYTHON |
| 198 | def test_underflow_boundary(self): |
| 199 | # test values close to 2**-1075, the underflow boundary; similar |
| 200 | # to boundary_tests, except that the random error doesn't scale |
| 201 | # with n |
| 202 | for exponent in range(-400, -320): |
| 203 | base = 10**-exponent // 2**1075 |
| 204 | for j in range(TEST_SIZE): |
| 205 | digits = base + random.randrange(-1000, 1000) |
| 206 | s = '{}e{}'.format(digits, exponent) |
| 207 | self.check_strtod(s) |
| 208 | |
| 209 | @unittest.expectedFailure # TODO: RUSTPYTHON |
| 210 | def test_bigcomp(self): |
nothing calls this directly
no test coverage detected