[issue24976] Arithmetic/precision bug when using floating-point numbers

2015-08-31 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks for the report, however this is not a Python bug. See: https://docs.python.org/3/tutorial/floatingpoint.html -- nosy: +ezio.melotti resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python

[issue24976] Arithmetic/precision bug when using floating-point numbers

2015-08-31 Thread Andrew
New submission from Andrew: I just recently discovered this bug, but when adding or subtracting a number and a precision error occurs when using at least 1 floating-point number in the operation. For example, 1 - 0.98 should output 0.02, but instead outputs 0..020018 (at least on m