Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEP 51: really distinguish np.float64(42.0) and 42.0` #60

Open
ev-br opened this issue Jul 3, 2023 · 1 comment
Open

NEP 51: really distinguish np.float64(42.0) and 42.0` #60

ev-br opened this issue Jul 3, 2023 · 1 comment
Labels
question Further information is requested some day

Comments

@ev-br
Copy link
Member

ev-br commented Jul 3, 2023

https://numpy.org/neps/nep-0051-scalar-representation.html

np.float64(3.0) is np.allclose to 3.0, so need to either special-case these, or roll our own allclose to block them.

@ev-br ev-br added the some day label Jul 3, 2023
@ev-br ev-br added the question Further information is requested label Jul 24, 2023
@ev-br
Copy link
Member Author

ev-br commented Apr 5, 2024

So far only two things stand out:

@ev-br ev-br changed the title NEP 51 NEP 51: really distinguish np.float64(42.0) and 42.0` Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested some day
Projects
None yet
Development

No branches or pull requests

1 participant