[issue41920] Weird add operation of "0.2222 + 0.1111"

2020-10-06 Thread Leonard Schwennesen
Leonard Schwennesen added the comment: Hi Steven, Thanks for your detailed explanations. They where very helpful for me. Now I know a bit more about Python and Computers in general. (; -- ___ Python tracker <https://bugs.python.org/issue41

[issue41920] Weird add operation of "0.2222 + 0.1111"

2020-10-03 Thread Leonard Schwennesen
Leonard Schwennesen added the comment: But this "bug" only affects floating numbers? -- ___ Python tracker <https://bugs.python.org/issue41920> ___ ___

[issue41920] Weird add operation of "0.2222 + 0.1111"

2020-10-03 Thread Leonard Schwennesen
Leonard Schwennesen added the comment: Ok thank you for these resources. I didn't know that before. (; -- ___ Python tracker <https://bugs.python.org/is

[issue41920] Weird add operation of "0.2222 + 0.1111"

2020-10-03 Thread Leonard Schwennesen
Leonard Schwennesen added the comment: Same problem with 0.-0. python returns 0.22218 and not 0. -- ___ Python tracker <https://bugs.python.org/issue41

[issue41920] Weird add operation of "0.2222 + 0.1111"

2020-10-03 Thread Leonard Schwennesen
New submission from Leonard Schwennesen : If I add 0. + 0. in the python cli I get the value 0.4 and not 0.. Also the other way around. But if I enter for example 0.2+0.1 I get 0.3 so that's right. Here are a few examples I tested that working pro