- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 567 for FLOAT64 (0.1 sec)
-
src/math/stubs.go
panic("not implemented") } const haveArchCosh = false func archCosh(x float64) float64 { panic("not implemented") } const haveArchErf = false func archErf(x float64) float64 { panic("not implemented") } const haveArchErfc = false func archErfc(x float64) float64 { panic("not implemented") } const haveArchExpm1 = false func archExpm1(x float64) float64 {
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/runtime/softfloat64_test.go
} // float64 -hw-> int32 -hw-> float64 func hwint32(f float64) float64 { return float64(int32(f)) } // float64 -sw-> int64 -hw-> float64 func toint64sw(f float64) float64 { i, ok := F64toint(math.Float64bits(f)) if !ok { // There's no right answer for out of range. // Match the hardware to pass the test. i = int64(f) } return float64(i) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 4K bytes - Viewed (0) -
test/fuse.go
func fLessLeq(a float64, f float64) bool { return a < 0 && f > Cf2 || a <= 0 && f < -Cf2 } func fLeqEq(a float64, f float64) bool { return a <= 0 && f > Cf2 || a == 0 && f < -Cf2 } func fLeqNeq(a int16, f float64) bool { return a <= 0 && f > Cf2 || a != 0 && f < -Cf2 // ERROR "Redirect Neq16 based on Leq16$" } func fLeqLess(a float32, f float64) bool { return a <= 0 && f > Cf2 || a < 0 && f < -Cf2 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 23 00:02:36 UTC 2024 - 5.3K bytes - Viewed (0) -
pkg/test/loadbalancersim/timeseries/data.go
nan = math.NaN() ) type Data []float64 func (d Data) Min() float64 { return d.sorted().min() } func (d Data) Max() float64 { return d.sorted().max() } func (d Data) Median() float64 { return d.Quantile(0.5) } func (d Data) Mean() float64 { total := float64(0) for _, v := range d { total += v } return total / float64(len(d)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 03 18:19:25 UTC 2022 - 2.1K bytes - Viewed (0) -
test/shift1.go
_ = 1<<s+1. == 1 // ERROR "invalid|shift of type float64" _ = 1<<s+1. == 1. // ERROR "invalid|shift of type float64" _ = 1.<<s+1 == 1 // ERROR "invalid|shift of type float64" _ = 1.<<s+1 == 1. // ERROR "invalid|shift of type float64" _ = 1.<<s+1. == 1 // ERROR "invalid|shift of type float64" _ = 1.<<s+1. == 1. // ERROR "invalid|non-integer|shift of type float64" _ = 1<<s == 1<<s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 03 16:24:32 UTC 2021 - 9.4K bytes - Viewed (0) -
src/math/rand/v2/zipf.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 30 14:29:30 UTC 2023 - 1.8K bytes - Viewed (0) -
src/runtime/histogram_test.go
10: float64(0x280) / 1e9, 11: float64(0x300) / 1e9, 12: float64(0x380) / 1e9, 13: float64(0x400) / 1e9, 15: float64(0x600) / 1e9, 81: float64(0x8000000) / 1e9, 82: float64(0xa000000) / 1e9, 108: float64(0x380000000) / 1e9, expBucketsLen - 2: float64(0x1<<47) / 1e9, expBucketsLen - 1: math.Inf(1), }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 16:32:01 UTC 2022 - 3.5K bytes - Viewed (0) -
src/runtime/mkfastlog2table.go
ki-- } f := f1 - 1 k := float64(ki) // compute s := float64(f / (2 + f)) s2 := float64(s * s) s4 := float64(s2 * s2) t1 := s2 * float64(L1+float64(s4*float64(L3+float64(s4*float64(L5+float64(s4*L7)))))) t2 := s4 * float64(L2+float64(s4*float64(L4+float64(s4*L6)))) R := float64(t1 + t2) hfsq := float64(0.5 * f * f) return float64(k*Ln2Hi) - ((hfsq - (float64(s*float64(hfsq+R)) + float64(k*Ln2Lo))) - f)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Jun 26 22:12:19 UTC 2022 - 3.1K bytes - Viewed (0) -
src/math/log10.go
// 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]. func Log2(x float64) float64 { if haveArchLog2 { return archLog2(x) } return log2(x) }
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/asin.go
*/ // Asin returns the arcsine, in radians, of x. // // Special cases are: // // Asin(±0) = ±0 // Asin(x) = NaN if x < -1 or x > 1 func Asin(x float64) float64 { if haveArchAsin { return archAsin(x) } return asin(x) } func asin(x float64) float64 { if x == 0 { return x // special case } sign := false if x < 0 { x = -x sign = true } if x > 1 { return NaN() // special case
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.1K bytes - Viewed (0)