Skip to content

Instantly share code, notes, and snippets.

@shalperin
Created August 18, 2024 05:57
Show Gist options
  • Save shalperin/d3c31f7487a693647fe39aaa25d12e23 to your computer and use it in GitHub Desktop.
Save shalperin/d3c31f7487a693647fe39aaa25d12e23 to your computer and use it in GitHub Desktop.
let a = 0.1 + 0.2
let b = 0.3
a == b // false. WTF?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment