Skip to content

BUG: np.reciprocal on integers uses C division, not true division #10374

@eric-wieser

Description

@eric-wieser

This is documented correctly

For integer arguments with absolute value larger than 1 the result is always zero because of the way Python handles integer division. For integer zero the result is an overflow.

But seems useless and undesirable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions