Skip to content

Instantly share code, notes, and snippets.

@cho45
Last active June 28, 2019 05:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cho45/c5c5ca92dca8fd3b700a7c67f59fc665 to your computer and use it in GitHub Desktop.
Save cho45/c5c5ca92dca8fd3b700a7c67f59fc665 to your computer and use it in GitHub Desktop.
let n = 1e-320;
for (let i = 0; i < 100000; i++) {
n = n + 1e-320;
}
n = 1e-320;
for (let i = 0; i < 100000; i++) {
n = n - 1e-320;
}
let n = 1e-5;
for (let i = 0; i < 100000; i++) {
n = n + 1e-5;
}
n = 1e-5;
for (let i = 0; i < 100000; i++) {
n = n - 1e-5;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment