8000 Behavior of negative exponentiation inconsistent between integer types · Issue #7648 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content
Behavior of negative exponentiation inconsistent between integer types #7648
Closed
@jakevdp

Description

@jakevdp
>>> np.int64(2) ** -2
0.25
>>> np.int32(2) ** -2
0

Tested on OSX 10.8.5 w/ numpy 1.10 on both Python 2.7 and 3.5.

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

      0