Hacker News new | ask | show | jobs
by hnjst 1901 days ago
I guess that can be tracked back to the use of fancy new buggy tools ;)

bc <<< "0.1 + 0.2"

.3

bc <<< "1.0E4096 +1 -1.0E4096"

1.000000

node -e "console.log(1.0E128 +1 -1.0E128)"

0

python -c "print(1.0E128 +1 -1.0E128)"

0.0