Skip to content

No warning on np.remainder(1.0%0.0) on macos #16220

@anirudh2290

Description

@anirudh2290

On mac:

>>> import numpy as np
>>> np.remainder(1.0, 0.0)
nan

On linux it is:

>>> np.remainder(1.0, 0.0)
<stdin>:1: RuntimeWarning: invalid value encountered in remainder
nan
>>>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions