Message311749
In cpython/Modules/_math.c there is definition of as const ln2
the value that in that const isn't correct (at least not accurate)
This is value that in the file:
ln2 = 0.693147180559945286227 (cpython)
but when calculating the value in wolframalpha, this is the value we get.
ln2 = 0.6931471805599453094172321214581 (wolframalpha)
and this is the value from Wikipedia
ln2 = 0.693147180559945309417232121458 (wikipedia)
also this is the thread in stackoverflow regarding this issue
https://stackoverflow.com/questions/48644767/ln2-const-value-in-math-c-in-cpython |
|
Date |
User |
Action |
Args |
2018-02-06 20:47:53 | matanya.stroh | set | recipients:
+ matanya.stroh |
2018-02-06 20:47:53 | matanya.stroh | set | messageid: <1517950073.47.0.467229070634.issue32783@psf.upfronthosting.co.za> |
2018-02-06 20:47:53 | matanya.stroh | link | issue32783 messages |
2018-02-06 20:47:53 | matanya.stroh | create | |
|