MCPcopy Create free account
hub / github.com/numpy/numpy / test_special_cases

Method test_special_cases

numpy/core/tests/test_simd.py:571–577  ·  view source on GitHub ↗

Compare Not NaN. Test intrinsics: npyv_notnan_##SFX

(self)

Source from the content-addressed store, hash-verified

569 assert recip == data_recip
570
571 def test_special_cases(self):
572 """
573 Compare Not NaN. Test intrinsics:
574 npyv_notnan_##SFX
575 """
576 nnan = self.notnan(self.setall(self._nan()))
577 assert nnan == [0]*self.nlanes
578
579 @pytest.mark.parametrize("intrin_name", [
580 "rint", "trunc", "ceil", "floor"

Callers

nothing calls this directly

Calls 1

_nanMethod · 0.80

Tested by

no test coverage detected