- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for archLog10 (0.35 sec)
-
src/math/log10.go
// license that can be found in the LICENSE file. package math // Log10 returns the decimal logarithm of x. // The special cases are the same as for [Log]. func Log10(x float64) float64 { if haveArchLog10 { return archLog10(x) } return log10(x) } func log10(x float64) float64 { return Log(x) * (1 / Ln10) } // Log2 returns the binary logarithm of x. // The special cases are the same as for [Log].
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 873 bytes - Viewed (0) -
src/math/stubs.go
panic("not implemented") } const haveArchLog10 = false func archLog10(x float64) float64 { panic("not implemented") } const haveArchLog2 = false func archLog2(x float64) float64 { panic("not implemented") } const haveArchLog1p = false func archLog1p(x float64) float64 { panic("not implemented") } const haveArchMod = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 2.6K bytes - Viewed (0) -
src/math/arith_s390x.go
func logTrampolineSetup(x float64) float64 func logAsm(x float64) float64 // Below here all functions are grouped in stubs.go for other // architectures. const haveArchLog10 = true func archLog10(x float64) float64 func log10TrampolineSetup(x float64) float64 func log10Asm(x float64) float64 const haveArchCos = true func archCos(x float64) float64 func cosTrampolineSetup(x float64) float64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 15 15:48:19 UTC 2021 - 3.7K bytes - Viewed (0) -
src/math/log1p.go
// // Special cases are: // // Log1p(+Inf) = +Inf // Log1p(±0) = ±0 // Log1p(-1) = -Inf // Log1p(x < -1) = NaN // Log1p(NaN) = NaN func Log1p(x float64) float64 { if haveArchLog1p { return archLog1p(x) } return log1p(x) } func log1p(x float64) float64 { const ( Sqrt2M1 = 4.142135623730950488017e-01 // Sqrt(2)-1 = 0x3fda827999fcef34
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 6.3K bytes - Viewed (0)