Why does 2x - x == x in IEEE floating point precision?

Subscribers:
4,270
Published on ● Video Link: https://www.youtube.com/watch?v=zjWVrLPwIFA



Duration: 0:00
1 views
0


Why does 2x - x == x in IEEE floating point precision?
I hope you found a solution that worked for you :)
The Content is licensed under (https://meta.stackexchange.com/help/l...) CC BY-SA.
Attention! This video does always use the same license as the source!
Thanks to all those great people for their contributions!

(stackoverflow.com/users/403875/dspyz)dspyz
(stackoverflow.com/users/298225/eric-postpischil)Eric Postpischil
(stackoverflow.com/users/787480/sneftel)Sneftel
(stackoverflow.com/users/16759116/no-comment)no comment
A special thanks goes out to the (stackoverflow.com/questions/78932341/why-does-2x-x-x-in-ieee-floating-point-precision)Stackexchange community

I wish you all a wonderful day! Stay safe :)
If anything is off, please write me at peter D.O.T schneider A.T ois42.de

precision ieee-754 python