class documentation

class _SIMD_FP(_Test_Utility):

View In Hierarchy

To test all float vector types at once
Method test​_abs Undocumented
Method test​_arithmetic​_fused Undocumented
Method test​_max Test intrinsics: npyv_max_##SFX npyv_maxp_##SFX
Method test​_min Test intrinsics: npyv_min_##SFX npyv_minp_##SFX
Method test​_reciprocal Undocumented
Method test​_rounding Test intrinsics: npyv_ceil_##SFX npyv_trunc_##SFX
Method test​_special​_cases Compare Not NaN. Test intrinsics: npyv_notnan_##SFX
Method test​_sqrt Undocumented
Method test​_square Undocumented

Inherited from _Test_Utility:

Method __getattr__ To call NPV intrinsics without the attribute 'npyv' and auto suffixing intrinsics according to class attribute 'sfx'
Method ​_cpu​_features Undocumented
Method ​_data Create list of consecutive numbers according to number of vector's lanes.
Method ​_int​_clip Undocumented
Method ​_int​_max Undocumented
Method ​_int​_min Undocumented
Method ​_is​_fp Undocumented
Method ​_is​_signed Undocumented
Method ​_is​_unsigned Undocumented
Method ​_nan Undocumented
Method ​_ninfinity Undocumented
Method ​_pinfinity Undocumented
Method ​_scalar​_size Undocumented
Method ​_to​_unsigned Undocumented
Method ​_true​_mask Undocumented
Class Variable npyv Undocumented
Class Variable sfx Undocumented
Class Variable target​_name Undocumented
def test_abs(self):

Undocumented

def test_arithmetic_fused(self):

Undocumented

def test_max(self):
Test intrinsics:
npyv_max_##SFX npyv_maxp_##SFX
def test_min(self):
Test intrinsics:
npyv_min_##SFX npyv_minp_##SFX
def test_reciprocal(self):

Undocumented

@pytest.mark.parametrize('intrin, func', [('self.ceil', math.ceil), ('self.trunc', math.trunc)])
def test_rounding(self, intrin, func):
Test intrinsics:
npyv_ceil_##SFX npyv_trunc_##SFX
def test_special_cases(self):
Compare Not NaN. Test intrinsics:
npyv_notnan_##SFX
def test_sqrt(self):

Undocumented

def test_square(self):

Undocumented