Skip to content

Instantly share code, notes, and snippets.

@cho45

cho45/denormal.js

Last active Jun 28, 2019
Embed
What would you like to do?
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
You can’t perform that action at this time.