Skip to content

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

Closed

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
>>>

Activity

  1. anirudh2290 commented on May 14, 2020

    @anirudh2290
    MemberAuthor

    This is a compiler limitation with clang, not something we can do much about. Closing this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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