class documentation

class TestRemainder: (source)

View In Hierarchy

Undocumented

Method test_float_divmod_corner_cases Undocumented
Method test_float_divmod_errors Undocumented
Method test_float_remainder_corner_cases Undocumented
Method test_float_remainder_errors Undocumented
Method test_float_remainder_exact Undocumented
Method test_float_remainder_overflow Undocumented
Method test_float_remainder_roundoff Undocumented
Method test_remainder_basic Undocumented
def test_float_divmod_corner_cases(self): (source)

Undocumented

@pytest.mark.skipif(IS_WASM, reason='fp errors don\'t work in wasm')
@pytest.mark.xfail(sys.platform.startswith('darwin'), reason='MacOS seems to not give the correct \'invalid\' warning for `fmod`. Hopefully, others always do.')
@pytest.mark.parametrize('dtype', np.typecodes['Float'])
def test_float_divmod_errors(self, dtype): (source)

Undocumented

def test_float_remainder_corner_cases(self): (source)

Undocumented

@pytest.mark.skipif(IS_WASM, reason='fp errors don\'t work in wasm')
@pytest.mark.xfail(sys.platform.startswith('darwin'), reason='MacOS seems to not give the correct \'invalid\' warning for `fmod`. Hopefully, others always do.')
@pytest.mark.parametrize('dtype', np.typecodes['Float'])
@pytest.mark.parametrize('fn', [np.fmod, np.remainder])
def test_float_remainder_errors(self, dtype, fn): (source)

Undocumented

def test_float_remainder_exact(self): (source)

Undocumented

@pytest.mark.skipif(IS_WASM, reason='fp errors don\'t work in wasm')
def test_float_remainder_overflow(self): (source)

Undocumented

def test_float_remainder_roundoff(self): (source)

Undocumented

def test_remainder_basic(self): (source)

Undocumented