Skip to content

Conversation

sabiwara
Copy link
Contributor

@sabiwara sabiwara commented Oct 7, 2024

Cf individual commits for more details

iex> +0.0 == -0.0
true
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure I want to go into this level of distinction for a getting started guide. I would just remove the note and leave the content as it was, and we can mention the differences in the === and !== docs.

In particular, IEEE recommends +0.0 and -0.0 to actually be equal. But === is about "are they the same term"?

Copy link
Member

@josevalim josevalim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One suggestion and ship it!

@sabiwara sabiwara merged commit 39d1ecb into elixir-lang:main Oct 8, 2024
10 checks passed
@sabiwara sabiwara deleted the other-guide-improvements branch October 8, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants