- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,134 for float2 (0.14 sec)
-
src/cmd/compile/internal/ssa/_gen/ARM64Ops.go
{name: "FMOVSconst", argLength: 0, reg: fp01, aux: "Float64", asm: "FMOVS", typ: "Float32", rematerializeable: true}, // auxint as 64-bit float, convert to 32-bit float {name: "FMOVDconst", argLength: 0, reg: fp01, aux: "Float64", asm: "FMOVD", typ: "Float64", rematerializeable: true}, // auxint as 64-bit float
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 58.8K bytes - Viewed (0) -
src/math/big/rat.go
func (x *Rat) Float32() (f float32, exact bool) { b := x.b.abs if len(b) == 0 { b = natOne } f, exact = quotToFloat32(x.a.abs, b) if x.a.neg { f = -f } return } // Float64 returns the nearest float64 value for x and a bool indicating // whether f represents x exactly. If the magnitude of x is too large to // be represented by a float64, f is an infinity and exact is false.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 13.5K bytes - Viewed (0) -
src/internal/fmtsort/sort.go
return cmp.Compare(aVal.Uint(), bVal.Uint()) case reflect.String: return cmp.Compare(aVal.String(), bVal.String()) case reflect.Float32, reflect.Float64: return cmp.Compare(aVal.Float(), bVal.Float()) case reflect.Complex64, reflect.Complex128: a, b := aVal.Complex(), bVal.Complex() if c := cmp.Compare(real(a), real(b)); c != 0 { return c }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:31:45 UTC 2024 - 4.9K bytes - Viewed (0) -
src/go/types/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: Wed Apr 03 18:48:38 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc
} return false; } // Insert CastOp which is used to for converting float32 ConstantOp into // float16 quantization. If there is an existing CastOp connected to the // ConstantOp, the quantize_op will be rewired to the existing CastOp. This // guarantees at most one CastOp is created for float32 to float16 conversion. void quantizeOpAsFloat16(PatternRewriter& rewriter, arith::ConstantOp op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 20.8K bytes - Viewed (0) -
src/database/sql/convert.go
case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64: return strconv.FormatUint(rv.Uint(), 10) case reflect.Float64: return strconv.FormatFloat(rv.Float(), 'g', -1, 64) case reflect.Float32: return strconv.FormatFloat(rv.Float(), 'g', -1, 32) case reflect.Bool: return strconv.FormatBool(rv.Bool()) } return fmt.Sprintf("%v", src) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 16.2K bytes - Viewed (0) -
src/reflect/value.go
} // CanFloat reports whether [Value.Float] can be used without panicking. func (v Value) CanFloat() bool { switch v.kind() { case Float32, Float64: return true default: return false } } // Float returns v's underlying value, as a float64. // It panics if v's Kind is not [Float32] or [Float64] func (v Value) Float() float64 { k := v.kind() switch k { case Float32:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
src/database/sql/driver/types.go
case reflect.Uint64: u64 := rv.Uint() if u64 >= 1<<63 { return nil, fmt.Errorf("uint64 values with high bit set are not supported") } return int64(u64), nil case reflect.Float32, reflect.Float64: return rv.Float(), nil case reflect.Bool: return rv.Bool(), nil case reflect.Slice: ek := rv.Type().Elem().Kind() if ek == reflect.Uint8 { return rv.Bytes(), nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 16:30:20 UTC 2024 - 8.8K bytes - Viewed (0) -
src/math/big/float_test.go
opname rune op func(z, x, y *Float) *Float }{ {0, 0, 0, 0, '+', (*Float).Add}, {0, 1, 2, 3, '+', (*Float).Add}, {1, 2, 0, 2, '+', (*Float).Add}, {2, 0, 1, 1, '+', (*Float).Add}, {0, 0, 0, 0, '-', (*Float).Sub}, {0, 1, 2, -1, '-', (*Float).Sub}, {1, 2, 0, 2, '-', (*Float).Sub}, {2, 0, 1, -1, '-', (*Float).Sub}, {0, 0, 0, 0, '*', (*Float).Mul}, {0, 1, 2, 2, '*', (*Float).Mul},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 51.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/FloatsMethodsForWeb.java
import jsinterop.annotations.JsPackage; /** Web specializations for {@link Floats} methods. */ public abstract class FloatsMethodsForWeb { @JsMethod(name = "Math.min", namespace = JsPackage.GLOBAL) public static native float min(float... array); @JsMethod(name = "Math.max", namespace = JsPackage.GLOBAL) public static native float max(float... array);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Oct 26 00:50:12 UTC 2023 - 1K bytes - Viewed (0)