- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Log2E (0.23 sec)
-
src/math/exp.go
return 0 case -NearZero < x && x < NearZero: return 1 + x } // reduce; computed as r = hi - lo for extra precision. var k int switch { case x < 0: k = int(Log2e*x - 0.5) case x > 0: k = int(Log2e*x + 0.5) } hi := x - float64(k)*Ln2Hi lo := float64(k) * Ln2Lo // compute return expmulti(hi, lo, k) } // Exp2 returns 2**x, the base-2 exponential of x. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 5.4K bytes - Viewed (0) -
src/math/const.go
SqrtPhi = 1.27201964951406896425242246173749149171560804184009624861664038 // https://oeis.org/A139339 Ln2 = 0.693147180559945309417232121458176568075500134360255254120680009 // https://oeis.org/A002162 Log2E = 1 / Ln2 Ln10 = 2.30258509299404568401799145468436420760110148862877297603332790 // https://oeis.org/A002392 Log10E = 1 / Ln10 ) // Floating-point limit values.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 21 14:07:39 UTC 2022 - 2.8K bytes - Viewed (0) -
src/math/all_test.go
for i := 0; i < len(vf); i++ { a := Abs(vf[i]) if f := Log2(a); !veryclose(log2[i], f) { t.Errorf("Log2(%g) = %g, want %g", a, f, log2[i]) } } if f := Log2(E); f != Log2E { t.Errorf("Log2(%g) = %g, want %g", E, f, Log2E) } for i := 0; i < len(vflogSC); i++ { if f := Log2(vflogSC[i]); !alike(logSC[i], f) { t.Errorf("Log2(%g) = %g, want %g", vflogSC[i], f, logSC[i]) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 07 17:39:26 UTC 2023 - 86.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Lgamma", Func, 0}, {"Ln10", Const, 0}, {"Ln2", Const, 0}, {"Log", Func, 0}, {"Log10", Func, 0}, {"Log10E", Const, 0}, {"Log1p", Func, 0}, {"Log2", Func, 0}, {"Log2E", Const, 0}, {"Logb", Func, 0}, {"Max", Func, 0}, {"MaxFloat32", Const, 0}, {"MaxFloat64", Const, 0}, {"MaxInt", Const, 17}, {"MaxInt16", Const, 0}, {"MaxInt32", Const, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.1.txt
pkg math, const Log10E = 0.434294 // 10000000000000000000000000000000000000000000000000000000000000/23025850929940456840179914546843642076011014886287729760333279 pkg math, const Log2E = 1.4427 // 1000000000000000000000000000000000000000000000000000000000000000/693147180559945309417232121458176568075500134360255254120680009 pkg math, const MaxFloat32 = 3.40282e+38 // 340282346638528859811704183484516925440
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0)