Skip to content

BUG: Dot product does not check for floating point warning flags #14925

Closed

Description

@seberg

The dot function (unlike ufuncs, and the ufunc based matmul, @) does not check for floating point warning/error flags. It would probably better if it would, although it is likely not high priority. The example being:

np.dot([1,1], [-np.inf, np.inf])

Which should be setting the CPU invalid value produced flag on the NaN result, but it is not caught by NumPy.

(phased out from gh-14788)

Activity

  1. added 3 commits that reference this issue on Mar 6, 2025
    d70dc83
    166fb82
    7541ae1
  2. added a commit that references this issue on Mar 16, 2025
    432d9b2
  3. added a commit that references this issue on Apr 11, 2025
    57f836f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions