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

print(Inf16) == print(Inf32) == "Inf" #51157

Closed
longemen3000 opened this issue Sep 2, 2023 · 2 comments
Closed

print(Inf16) == print(Inf32) == "Inf" #51157

longemen3000 opened this issue Sep 2, 2023 · 2 comments
Labels
display and printing Aesthetics and correctness of printed representations of objects.

Comments

@longemen3000
Copy link
Contributor

longemen3000 commented Sep 2, 2023

noticed in #51087
repr seems to return the correct value

@longemen3000 longemen3000 changed the title print(Inf16) == "Inf" print(Inf16) == print(Inf32) == "Inf" Sep 2, 2023
@KristofferC
Copy link
Member

This is intentional.

@longemen3000
Copy link
Contributor Author

fair enough. before closing this, is there somewhere to read the rationale of such decision?

Jay-sanjay added a commit to Jay-sanjay/julia that referenced this issue Sep 2, 2023
@brenhinkeller brenhinkeller added the display and printing Aesthetics and correctness of printed representations of objects. label Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
display and printing Aesthetics and correctness of printed representations of objects.
Projects
None yet
Development

No branches or pull requests

3 participants