diff --git a/pkg/math/math.go b/pkg/math/math.go index fe4ea2200f5..085987052ad 100644 --- a/pkg/math/math.go +++ b/pkg/math/math.go @@ -151,9 +151,9 @@ const ( SqrtPhi = 1.27201964951406896425242246173749149171560804184009624861664038 // https://oeis.org/A139339 Ln2 = 0.693147180559945309417232121458176568075500134360255254120680009 // https://oeis.org/A002162 - Log2E = 1000000000000000000000000000000000000000000000000000000000000000.0 / 693147180559945309417232121458176568075500134360255254120680009 + Log2E = 1 / Ln2 Ln10 = 2.30258509299404568401799145468436420760110148862877297603332790 // https://oeis.org/A002392 - Log10E = 10000000000000000000000000000000000000000000000000000000000000.0 / 23025850929940456840179914546843642076011014886287729760333279 + Log10E = 1 / Ln10 ) // Copysign returns a value with the magnitude