|
From: | Arthur Miller |
Subject: | Re: What is 0.01 here not 0.01 here 0.009999999999999? |
Date: | Sat, 03 Apr 2021 06:49:42 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.1 (windows-nt) |
Jean Louis <bugs@gnu.support> writes: > * Eli Zaretskii <eliz@gnu.org> [2021-04-02 17:03]: >> Suggested reading: >> >> https://www.itu.dk/~sestoft/bachelor/IEEE754_article.pdf > > Thank you, I will read. From: > https://en.wikipedia.org/wiki/Floating-point_arithmetic#Accuracy_problems > > It seem that floating point arithmetic is killer at certain > situations, so I will just make sure not to fiddle with missiles. So could be integers as well, these were (fortunately) not killers: https://hownot2code.com/2016/09/02/a-space-error-370-million-for-an-integer-overflow/ https://medium.com/@jollyfish/integer-overflow-underflow-and-floating-point-imprecision-6ba869a99033
[Prev in Thread] | Current Thread | [Next in Thread] |