(self)
| 437 | @pytest.mark.xfail(_is_armhf(), |
| 438 | reason="ARMHF/AArch32 platforms seem to FTZ subnormals") |
| 439 | def test_denormal_numbers(self): |
| 440 | # Regression test for gh-5437. Will probably fail when compiled |
| 441 | # with ICC, which flushes denormals to zero |
| 442 | for ftype in sctypes['float']: |
| 443 | stop = nextafter(ftype(0), ftype(1)) * 5 # A denormal number |
| 444 | assert_(any(linspace(0, stop, 10, endpoint=False, dtype=ftype))) |
| 445 | |
| 446 | def test_equivalent_to_arange(self): |
| 447 | for j in range(1000): |