Feb-06-2018, 02:44 PM
Hi. I'm not so sure where to ask it, so I'm trying here.
m looking at the source code of _math.c (line 25):
ln2 = 0.693147180559945286227 (cpython)
ln2 = 0.6931471805599453094172321214581 (wolframalpha)
ln2 = 0.693147180559945309417232121458 (wikipedia)
so my question is why there is a difference? what am I missing?
I asked this question also in Stack-overflow if it's matter - stackoverflow question
m looking at the source code of _math.c (line 25):
#if !defined(HAVE_ACOSH) || !defined(HAVE_ASINH) static const double ln2 = 6.93147180559945286227E-01; static const double two_pow_p28 = 268435456.0; /* 2**28 */and I noticed that ln2 value is different from the what wolframalpha value for ln2. (bald part is the difference)
ln2 = 0.693147180559945286227 (cpython)
ln2 = 0.6931471805599453094172321214581 (wolframalpha)
ln2 = 0.693147180559945309417232121458 (wikipedia)
so my question is why there is a difference? what am I missing?
I asked this question also in Stack-overflow if it's matter - stackoverflow question