- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,264 for float1 (0.14 sec)
-
test/fixedbugs/issue19947.go
// license that can be found in the LICENSE file. // No double error on ideal -> float{32,64} conversion overflow package issue19947 var _ = float32(1) * 1e200 // ERROR "constant 1e\+200 overflows float32|1e200 .* overflows float32" var _ = float64(1) * 1e500 // ERROR "constant 1e\+500 overflows float64|1e500 .* overflows float64"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 09 23:59:57 UTC 2020 - 677 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) -
test/fixedbugs/bug010.go
// license that can be found in the LICENSE file. package main func f(i int, f float64) { i = 8 f = 8.0 return } func main() { f(3, float64(5)) } /* bug10.go:5: i undefined bug10.go:6: illegal conversion of constant to 020({},<_o001>{<i><int32>INT32;<f><float32>FLOAT32;},{}) bug10.go:7: error in shape across assignment
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:48:57 UTC 2012 - 450 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) -
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) -
test/typeswitch.go
func main() { for i := Bool; i < Last; i++ { switch x := f(i).(type) { case bool: assert(x == true && i == Bool, "bool") case int: assert(x == 7 && i == Int, "int") case float64: assert(x == 7.4 && i == Float, "float64") case string: assert(x == "hello" && i == String, "string") case S: assert(x.a == 1234 && i == Struct, "struct") case chan int: assert(x == c && i == Chan, "chan") case []int:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 00:48:19 UTC 2012 - 1.8K 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) -
tensorflow/compiler/mlir/quantization/stablehlo/utils/bfloat16_type.h
#include "mlir/IR/Types.h" // from @llvm-project namespace mlir::quant::stablehlo { // Returns true if the type or its element type is a float type with bit_width // > 16. bool IsLargeFloatType(Type type); // Converts large float type to bfloat16. Otherwise returns original type. Type ToBfloat16Type(Type type); } // namespace mlir::quant::stablehlo
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 19 23:51:52 UTC 2024 - 1.2K bytes - Viewed (0)