[issue37727] error past 15 places

2019-07-30 Thread Tim Peters
Tim Peters added the comment: You'll see much the same in every programming language that supports your computer's floating-point hardware. Start by reading this gentle introduction: https://docs.python.org/3/tutorial/floatingpoint.html This bug tracker isn't a place for tutorials, though,

[issue37727] error past 15 places

2019-07-30 Thread Zachary Ware
Zachary Ware added the comment: This is a limitation of binary floating point, please see https://docs.python.org/3/tutorial/floatingpoint.html -- nosy: +zach.ware resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python

[issue37727] error past 15 places

2019-07-30 Thread Whitequill Riclo
Whitequill Riclo added the comment: This error happens in Google's search too which means that Google is using Python server-side and some how this hasn't been addressed. -- ___ Python tracker

[issue37727] error past 15 places

2019-07-30 Thread Whitequill Riclo
New submission from Whitequill Riclo : I have found that when doing the calculation when running: pow(1 + 1/100, 100) = 2.716110034087023 pow(1 + 1/1000, 1000) = 3.03503520654962 This is incorrect as the following is a well known way to