Skip to content
Discussion options

You must be logged in to vote

why 16141183638984196174.0 == 16141183638984196173.0 is true

This is how floats work.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by antonmedv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #856 on December 10, 2025 13:33.