Skip to content

uint64 is "promoted" to float64 when adding an integer #8522

Closed

Description

@NeilGirdhar
In [8]: a = np.uint64(2)

In [9]: b = a + 1

In [10]: type(b)
Out[10]: numpy.float64

!

Activity

  1. seberg commented on Jan 24, 2017

    @seberg
    Member

    Yes, duplicate of gh-7126 (and probably more). A larger discussion about this is probably better on the mailing list.

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