[issue34703] Unexpected Arithmetic Result

2018-09-16 Thread Mark Dickinson
Mark Dickinson added the comment: This isn't a bug; it's a result of Python using the hardware-provided binary floating-point, which can't represent all decimal numbers exactly. Please take a look at https://docs.python.org/3/tutorial/floatingpoint.html for more information. --

[issue34703] Unexpected Arithmetic Result

2018-09-16 Thread chengxuncc
New submission from chengxuncc : >>> 2359296/10/1000**2 0.235929602 >>> 2359296/1000 0.2359296 You can see it. -- components: Interpreter Core messages: 325478 nosy: chengxuncc priority: normal severity: normal status: open title: Unexpected Arithmetic Result type: