- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 2,057 for float2 (0.21 sec)
-
test/typeparam/absdiff.go
// license that can be found in the LICENSE file. package main type Numeric interface { ~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr | ~float32 | ~float64 | ~complex64 | ~complex128 } // numericAbs matches numeric types with an Abs method. type numericAbs[T any] interface { Numeric Abs() T }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 2.9K 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/cmd/compile/internal/ssa/_gen/MIPS64Ops.go
{name: "TRUNCFV", argLength: 1, reg: fp11, asm: "TRUNCFV"}, // float32 -> int64 {name: "TRUNCDV", argLength: 1, reg: fp11, asm: "TRUNCDV"}, // float64 -> int64 {name: "MOVFD", argLength: 1, reg: fp11, asm: "MOVFD"}, // float32 -> float64 {name: "MOVDF", argLength: 1, reg: fp11, asm: "MOVDF"}, // float64 -> float32 // function calls
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 03:36:31 UTC 2023 - 25.5K 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/cmd/compile/internal/ssa/_gen/AMD64Ops.go
// Move values between int and float registers, with no conversion. // TODO: should we have generic versions of these? {name: "MOVQi2f", argLength: 1, reg: gpfp, typ: "Float64"}, // move 64 bits from int to float reg {name: "MOVQf2i", argLength: 1, reg: fpgp, typ: "UInt64"}, // move 64 bits from float to int reg {name: "MOVLi2f", argLength: 1, reg: gpfp, typ: "Float32"}, // move 32 bits from int to float reg
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 04 16:40:24 UTC 2023 - 98K bytes - Viewed (1) -
test/float_lit2.go
{0x7f7fffff, float32(max32), float32(max32 - ulp32/2 + ulp32/two64), "max32 - ulp32/2 + ulp32/two64"}, {0x7f7fffff, float32(max32), float32(max32), "max32"}, {0x7f7fffff, float32(max32), float32(max32 + ulp32/2 - ulp32/two64), "max32 + ulp32/2 - ulp32/two64"}, {0xff7ffffe, float32(-(max32 - ulp32)), float32(-(max32 - ulp32 - ulp32/2)), "-(max32 - ulp32 - ulp32/2)"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 14 16:39:47 UTC 2016 - 7.9K bytes - Viewed (0) -
src/internal/types/testdata/check/errors.go
// constants const c1 = 991 const c2 float32 = 0.5 const c3 = "foo" 0 // ERROR "0 (untyped int constant) is not used" 0.5 // ERROR "0.5 (untyped float constant) is not used" "foo" // ERROR `"foo" (untyped string constant) is not used` c1 // ERROR "c1 (untyped int constant 991) is not used" c2 // ERROR "c2 (constant 0.5 of type float32) is not used"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 10 12:59:20 UTC 2023 - 2.2K bytes - Viewed (0) -
test/literal.go
_, _, _, _ = u30, u31, u32, u33 // float var f00 float32 = 3.14159 var f01 float32 = -3.14159 var f02 float32 = +3.14159 var f03 float32 = 0.0 var f04 float32 = .0 var f05 float32 = 0. var f06 float32 = -0.0 var f07 float32 = 1e10 var f08 float32 = -1e10 var f09 float32 = 1e-10 var f10 float32 = 1e+10 var f11 float32 = 1.e-10 var f12 float32 = 1.e+10 var f13 float32 = .1e-10
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 12 18:17:49 UTC 2013 - 5K bytes - Viewed (0) -
src/encoding/binary/binary_test.go
"unsafe" ) type Struct struct { Int8 int8 Int16 int16 Int32 int32 Int64 int64 Uint8 uint8 Uint16 uint16 Uint32 uint32 Uint64 uint64 Float32 float32 Float64 float64 Complex64 complex64 Complex128 complex128 Array [4]uint8 Bool bool BoolArray [4]bool } type T struct { Int int Uint uint Uintptr uintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:16:18 UTC 2024 - 25.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go
{name: "TRUNCFV", argLength: 1, reg: fp11, asm: "TRUNCFV"}, // float32 -> int64 {name: "TRUNCDV", argLength: 1, reg: fp11, asm: "TRUNCDV"}, // float64 -> int64 {name: "MOVFD", argLength: 1, reg: fp11, asm: "MOVFD"}, // float32 -> float64 {name: "MOVDF", argLength: 1, reg: fp11, asm: "MOVDF"}, // float64 -> float32 // function calls
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 19:04:19 UTC 2023 - 25.2K bytes - Viewed (0)