class documentation
class TestSFloat: (source)
Undocumented
Method | test |
The addition method is special for the scaled float, because it includes the "cast" between different factors, thus cast-safety is influenced by the implementation. |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | _get |
Undocumented |
The addition method is special for the scaled float, because it includes the "cast" between different factors, thus cast-safety is influenced by the implementation.
@pytest.mark.parametrize( 'ufunc', [ np.logical_and, np.logical_or, np.logical_xor])
def test_logical_ufuncs_casts_to_bool(self, ufunc): (source) ¶
def test_logical_ufuncs_casts_to_bool(self, ufunc): (source) ¶
Undocumented
@pytest.mark.parametrize( 'scaling', [ 1.0, -1.0, 2.0])
def test_scaled_float_from_floats(self, scaling): (source) ¶
def test_scaled_float_from_floats(self, scaling): (source) ¶
Undocumented
@pytest.mark.parametrize( 'aligned', [ True, False])
def test_sfloat_cast_internal_errors(self, aligned): (source) ¶
def test_sfloat_cast_internal_errors(self, aligned): (source) ¶
Undocumented
@pytest.mark.parametrize( 'scaling', [ 1.0, -1.0, 2.0])
def test_sfloat_from_float(self, scaling): (source) ¶
def test_sfloat_from_float(self, scaling): (source) ¶
Undocumented