Searched refs:ln2 (Results 1 – 12 of 12) sorted by relevance
12 ln2 = evaluate(log(2),0);13 invln2hi = double(1/ln2 + 0x1p21) - 0x1p21; // round away last 21 bits14 invln2lo = double(1/ln2 - invln2hi);17 f = log(1+x)/ln2;38 //for i from 0 to 60 do { g = g + (-x)^i/(i+1)/ln2; };
12 ln2 = evaluate(log(2),0);13 invln2hi = double(1/ln2 + 0x1p21) - 0x1p21; // round away last 21 bits14 invln2lo = double(1/ln2 - invln2hi);23 f = f/ln2;
30 .ln2 = 0x1.62e42fefa39efp-1,
23 #define Ln2 __logf_data.ln2
324 double ln2; member
20 int ln2{std::numbers::ln2_v<int>}; variable
45 assert(std::numbers::ln2 == 0x1.62e42fefa39efp-1); in tests()
49 assert(d6 == std::numbers::ln2); in tests()
20 [[maybe_unused]] const double* dd6{&std::numbers::ln2}; in tests()
51 inline constexpr double ln2 = ln2_v<double>;120 inline constexpr double ln2 = ln2_v<double>;
59 … ln2 = .69314718055994530942, // (0x1.62e42fefa39efP-1) https://oeis.org/A002162 variable
797 return log(V) / numbers::ln2; in log2()