- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 2,057 for float2 (0.3 sec)
-
test/fixedbugs/issue28688.go
package main import ( "fmt" ) // When using soft-float, OMUL might be rewritten to function // call so we should ensure it was evaluated first. Stack frame // setup for "test" function call should happen after call to runtime.fmul32 var x int32 = 1 func main() { var y float32 = 1.0 test(x, y*y) } //go:noinline func test(id int32, a float32) { if id != x { fmt.Printf("got: %d, want: %d\n", id, x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 03 16:14:24 UTC 2021 - 622 bytes - Viewed (0) -
src/math/all_test.go
{float32(Copysign(0, -1)), -1}, {float32(NaN()), 0}, {float32(NaN()), float32(NaN())}, } var nextafter32SC = []float32{ 0, 0, -1.401298464e-45, // Float32frombits(0x80000001) float32(NaN()), 1.401298464e-45, // Float32frombits(0x00000001) float32(Copysign(0, -1)), float32(Copysign(0, -1)), -1.401298464e-45, // Float32frombits(0x80000001) float32(NaN()), float32(NaN()), }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 07 17:39:26 UTC 2023 - 86.8K bytes - Viewed (0) -
schema/field_test.go
{Name: "FLOAT32", DBName: "ffloat32", BindNames: []string{"FLOAT32"}, DataType: schema.Float, Creatable: true, Updatable: true, Readable: true, Size: 32, Tag: `gorm:"column:ffloat32"`}, {Name: "FLOAT64", DBName: "ffloat64", BindNames: []string{"FLOAT64"}, DataType: schema.Float, Creatable: true, Updatable: true, Readable: true, Size: 64, Tag: `gorm:"column:ffloat64"`},
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Sat Feb 19 09:02:53 UTC 2022 - 12.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.h
} // Return a tensor handle containing a 100x100 matrix of floats TFE_TensorHandle* TestMatrixTensorHandle100x100(TFE_Context* ctx); // Return a tensor handle containing a 3x2 matrix of doubles TFE_TensorHandle* DoubleTestMatrixTensorHandle3X2(TFE_Context* ctx); // Return a tensor handle containing a 3x2 matrix of floats TFE_TensorHandle* TestMatrixTensorHandle3X2(TFE_Context* ctx);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jul 17 23:43:59 UTC 2023 - 7.7K bytes - Viewed (0) -
test/fixedbugs/bug19403.go
var i15 int var i16 int func main() { var f0 float32 = 0.0 var f1 float32 = 1.0 var f2 float32 = 2.0 var f3 float32 = 3.0 var f4 float32 = 4.0 var f5 float32 = 5.0 var f6 float32 = 6.0 var f7 float32 = 7.0 var f8 float32 = 8.0 var f9 float32 = 9.0 var f10 float32 = 10.0 var f11 float32 = 11.0 var f12 float32 = 12.0 var f13 float32 = 13.0 var f14 float32 = 14.0 var f15 float32 = 15.0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 06 21:39:00 UTC 2017 - 2.1K bytes - Viewed (0) -
src/slices/sort_benchmark_test.go
b.Run(fmt.Sprintf("Size%d", size), func(b *testing.B) { floats := make([]float64, size) for i := range floats { floats[i] = float64(i) } midpoint := len(floats) / 2 needle := (floats[midpoint] + floats[midpoint+1]) / 2 b.ResetTimer() for i := 0; i < b.N; i++ { slices.BinarySearch(floats, needle) } }) } } type myStruct struct { a, b, c, d string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 23:39:07 UTC 2024 - 2.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/RISCV64Ops.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 14:57:07 UTC 2024 - 30.7K bytes - Viewed (0) -
test/fixedbugs/bug080.go
// license that can be found in the LICENSE file. package main func f1() (x int, y float64) { return } func f2(x int, y float64) { return } func main() { f2(f1()) // this should be a legal call } /* bug080.go:12: illegal types for operand: CALL (<int32>INT32) ({<x><int32>INT32;<y><float32>FLOAT32;})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 21:15:42 UTC 2012 - 435 bytes - Viewed (0) -
src/text/scanner/scanner_test.go
{Int, "0X" + f100}, {Comment, "// floats"}, {Float, "0."}, {Float, "1."}, {Float, "42."}, {Float, "01234567890."}, {Float, ".0"}, {Float, ".1"}, {Float, ".42"}, {Float, ".0123456789"}, {Float, "0.0"}, {Float, "1.0"}, {Float, "42.0"}, {Float, "01234567890.0"}, {Float, "0e0"}, {Float, "1e0"}, {Float, "42e0"}, {Float, "01234567890e0"}, {Float, "0E0"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 17 03:41:50 UTC 2022 - 25.3K bytes - Viewed (0) -
test/const1.go
type I interface{} const ( // assume all types behave similarly to int8/uint8 Int8 int8 = 101 Minus1 int8 = -1 Uint8 uint8 = 102 Const = 103 Float32 float32 = 104.5 Float64 float64 = 105.5 ConstFloat = 106.5 Big float64 = 1e300 String = "abc" Bool = true ) var ( a1 = Int8 * 100 // ERROR "overflow|cannot convert" a2 = Int8 * -1 // OK
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 01 21:49:31 UTC 2020 - 3.8K bytes - Viewed (0)