[New-bugs-announce] [issue37727] error past 15 places

Whitequill Riclo report at bugs.python.org
Wed Jul 31 00:19:02 EDT 2019


New submission from Whitequill Riclo <theguild42 at gmail.com>:

I have found that when doing the calculation when running:

pow(1 + 1/100000000000000, 100000000000000) = 2.716110034087023

pow(1 + 1/1000000000000000, 1000000000000000) = 3.03503520654962

This is incorrect as the following is a well known way to calculate Euler's number.
I do not know what component is the cause so I just picked one.

----------
components: Library (Lib)
messages: 348775
nosy: Whitequill Riclo
priority: normal
severity: normal
status: open
title: error past 15 places
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37727>
_______________________________________


More information about the New-bugs-announce mailing list