Skip to content

Instantly share code, notes, and snippets.

@leifwickland
Last active April 11, 2023 21:21
Show Gist options
  • Save leifwickland/d078da9c37a5dbe6fd5febedcedb9f84 to your computer and use it in GitHub Desktop.
Save leifwickland/d078da9c37a5dbe6fd5febedcedb9f84 to your computer and use it in GitHub Desktop.
Floating point addition is not associative
4.5e15 + (2e-1 + 2e-1) != (4.5e15 + 2e-1) + 2e-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment