- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,550 for float1 (0.17 sec)
-
src/cmd/compile/internal/types2/builtins_test.go
{"complex", `_ = complex(1, 0)`, `invalid type`}, // constant {"complex", `var re float32; _ = complex(re, 1.0)`, `func(float32, float32) complex64`}, {"complex", `var im float64; _ = complex(1, im)`, `func(float64, float64) complex128`}, {"complex", `type F32 float32; var re, im F32; _ = complex(re, im)`, `func(p.F32, p.F32) complex64`}, {"complex", `type F64 float64; var re, im F64; _ = complex(re, im)`, `func(p.F64, p.F64) complex128`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 18:06:31 UTC 2024 - 10.8K bytes - Viewed (0) -
src/internal/abi/abi.go
// be in the top bits of the slot. Floats are usually just // directly represented, but some architectures treat narrow // width floating point values specially (e.g. they're promoted // first, or they need to be NaN-boxed). Ints [IntArgRegs]uintptr // untyped integer registers Floats [FloatArgRegs]uint64 // untyped float registers // Fields above this point are known to assembly.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 23 15:51:32 UTC 2023 - 3.1K bytes - Viewed (0) -
src/math/rand/v2/normal.go
i := u >> 32 & 0x7F x := float64(j) * float64(wn[i]) if absInt32(j) < kn[i] { // This case should be hit better than 99% of the time. return x } if i == 0 { // This extra work is only required for the base strip. for { x = -math.Log(r.Float64()) * (1.0 / rn) y := -math.Log(r.Float64()) if y+y >= x*x { break } } if j > 0 { return rn + x } return -rn - x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 30 17:08:47 UTC 2023 - 6.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/testdata/swagger-precision-item-v3.json
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 16:45:45 UTC 2023 - 1.2K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue58671.go
_ int = g(1, 2) _ rune = g(1, 'a') _ float64 = g(1, 'a', 2.3) _ float64 = g('a', 2.3) _ complex128 = g(2.3, 'a', 1i) ) g(true, 'a' /* ERROR "mismatched types untyped bool and untyped rune (cannot infer P)" */) g(1, "foo" /* ERROR "mismatched types untyped int and untyped string (cannot infer P)" */) g(1, 2.3, "bar" /* ERROR "mismatched types untyped float and untyped string (cannot infer P)" */)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:56:58 UTC 2023 - 668 bytes - Viewed (0) -
src/math/all_test.go
var modfSC = [][2]float64{ {Inf(-1), NaN()}, // [2]float64{Copysign(0, -1), Inf(-1)}, {Copysign(0, -1), Copysign(0, -1)}, {Inf(1), NaN()}, // [2]float64{0, Inf(1)}, {NaN(), NaN()}, } var vfnextafter32SC = [][2]float32{ {0, 0}, {0, float32(Copysign(0, -1))}, {0, -1}, {0, float32(NaN())}, {float32(Copysign(0, -1)), 1}, {float32(Copysign(0, -1)), 0},
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/internal/types/testdata/check/shifts.go
u = 1.0 /* ERROR "must be integer" */ <<s // illegal: 1.0 has type float64, cannot shift u1 = 1.0 /* ERROR "must be integer" */ <<s != 0 // illegal: 1.0 has type float64, cannot shift u2 = 1 /* ERROR "must be integer" */ <<s != 1.0 // illegal: 1 has type float64, cannot shift v float32 = 1 /* ERROR "must be integer" */ <<s // illegal: 1 has type float32, cannot shift w int64 = 1.0<<33 // 1.0<<33 is a constant shift expression )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 12.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/roundtrip_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 21:48:12 UTC 2024 - 7.1K bytes - Viewed (0) -
src/math/rand/v2/export_test.go
// license that can be found in the LICENSE file. package rand func GetNormalDistributionParameters() (float64, [128]uint32, [128]float32, [128]float32) { return rn, kn, wn, fn } func GetExponentialDistributionParameters() (float64, [256]uint32, [256]float32, [256]float32) { return re, ke, we, fe
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 30 17:08:37 UTC 2023 - 414 bytes - Viewed (0) -
test/nilptr5_aix.go
// license that can be found in the LICENSE file. // Test that nil checks are removed. // Optimization is enabled. package p func f5(p *float32, q *float64, r *float32, s *float64) float64 { x := float64(*p) // ERROR "generated nil check" y := *q // ERROR "generated nil check" *r = 7 // ERROR "removed nil check" *s = 9 // ERROR "removed nil check" return x + y
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 806 bytes - Viewed (0)