- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 519 for ffloat32 (0.2 sec)
-
test/fixedbugs/bug19403.go
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 var f16 float32 = 16.0 i0 = int(f0) i1 = int(f1) i2 = int(f2) i3 = int(f3) i4 = int(f4) i5 = int(f5) i6 = int(f6) i7 = int(f7) i8 = int(f8) i9 = int(f9)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 06 21:39:00 UTC 2017 - 2.1K bytes - Viewed (0) -
test/fixedbugs/issue19515.go
x, y int } type Color struct { R, G, B, A float32 } func maxF(a, b float32) float32 { if a > b { return 0 } return 1 } type TransformMatrix [6]float32 type Paint struct { xform TransformMatrix feather float32 innerColor Color outerColor Color } func BoxGradient(x, y, w, h, f float32, iColor, oColor Color) Paint { return Paint{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 14 22:55:52 UTC 2017 - 931 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td
tf.constant(0, dtype=dtype))] expected = tf.constant([0, 0, 0, 0], dtype=tf.float32) tf.assert_equal(tf.cast(not_a_and_a, tf.float32), expected) expected = tf.cast([not_0] * 4, tf.float32) tf.assert_equal(tf.cast(not_a_or_a, tf.float32), expected) # For unsigned dtypes let's also check the result directly. if dtype.is_unsigned:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 793K bytes - Viewed (0) -
src/internal/types/testdata/check/const1.go
const delta32 = maxFloat32/(1 << 23) const ( _ float32 = - /* ERROR "overflow" */ (maxFloat32 + delta32) _ float32 = -maxFloat32 _ float32 = maxFloat32 _ float32 = maxFloat32 /* ERROR "overflow" */ + delta32 _ = float32(- /* ERROR "cannot convert" */ (maxFloat32 + delta32)) _ = float32(-maxFloat32) _ = float32(maxFloat32) _ = float32(maxFloat32 /* ERROR "cannot convert" */ + delta32)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 16:11:16 UTC 2023 - 8.5K bytes - Viewed (0) -
test/fixedbugs/issue7044.go
package main import ( "fmt" "reflect" ) func f() [16]float32 { f0, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15 := float32(1), float32(1), float32(1), float32(1), float32(1), float32(1), float32(1), float32(1), float32(1), float32(1), float32(1), float32(1), float32(1), float32(1), float32(1), float32(1) // Use all 16 registers to do float32 --> float64 conversion.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 2.2K bytes - Viewed (0) -
test/shift1.go
_ = make([]int, 1.1<<s) // ERROR "non-integer|truncated|must be integer" _ = float32(1) _ = float32(1 << s) // ERROR "non-integer|shift of type float32|must be integer" _ = float32(1.) _ = float32(1. << s) // ERROR "non-integer|shift of type float32|must be integer" _ = float32(1.1 << s) // ERROR "non-integer|shift of type float32|must be integer" _ = append(a, 1<<s) _ = append(a, 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/reflect/float32reg_riscv64.s
// on riscv64. // Convert float32->uint64 TEXT ·archFloat32ToReg(SB),NOSPLIT,$0-16 MOVF val+0(FP), F1 MOVD F1, ret+8(FP) RET // Convert uint64->float32 TEXT ·archFloat32FromReg(SB),NOSPLIT,$0-12 // Normally a float64->float32 conversion // would need rounding, but riscv64 store valid // float32 in the lower 32 bits, thus we only need to // unboxed the NaN-box by store a float32.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 04 13:38:32 UTC 2022 - 794 bytes - Viewed (0) -
test/fixedbugs/issue14651.go
m1011p1074 = 0xb / 16.0 * p1074 // = 0.1011p-1074 m1100p1074 = 0xc / 16.0 * p1074 // = 0.1100p-1074 ) func main() { test32(float32(m0000p149), f32(m0000p149)) test32(float32(m1000p149), f32(m1000p149)) test32(float32(m1001p149), f32(m1001p149)) test32(float32(m1011p149), f32(m1011p149)) test32(float32(m1100p149), f32(m1100p149)) test64(float64(m0000p1074), f64(m0000p1074)) test64(float64(m1000p1074), f64(m1000p1074))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 22 17:09:29 UTC 2016 - 1.9K bytes - Viewed (0) -
test/cmplx.go
// Verify that incorrect invocations of the complex predeclared function are detected. // Does not compile. package main type ( Float32 float32 Float64 float64 Complex64 complex64 Complex128 complex128 ) var ( f32 float32 f64 float64 F32 Float32 F64 Float64 c64 complex64 c128 complex128 C64 Complex64 C128 Complex128 ) func F1() int { return 1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 21:00:20 UTC 2019 - 1.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typestring_test.go
var independentTestTypes = []testEntry{ // basic types dup("int"), dup("float32"), dup("string"), // arrays dup("[10]int"), // slices dup("[]int"), dup("[][]int"), // structs dup("struct{}"), dup("struct{x int}"), {`struct { x, y int z float32 "foo" }`, `struct{x int; y int; z float32 "foo"}`}, {`struct { string elems []complex128
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 28 17:58:07 UTC 2023 - 3.9K bytes - Viewed (0)