- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,134 for float2 (0.15 sec)
-
test/codegen/floats.go
return x, y, z } func indexLoad(b0 []float32, b1 float32, idx int) float32 { // arm64:`FMOVS\s\(R[0-9]+\)\(R[0-9]+<<2\),\sF[0-9]+` return b0[idx] * b1 } func indexStore(b0 []float64, b1 float64, idx int) { // arm64:`FMOVD\sF[0-9]+,\s\(R[0-9]+\)\(R[0-9]+<<3\)` b0[idx] = b1 } // ----------- // // Fused // // ----------- // func FusedAdd32(x, y, z float32) float32 { // s390x:"FMADDS\t"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 15:24:29 UTC 2024 - 4.9K bytes - Viewed (0) -
src/math/big/float.go
// than Float values, and each unique Float value requires // its own unique *Float pointer. To "copy" a Float value, // an existing (or newly allocated) Float must be set to // a new value using the [Float.Set] method; shallow copies // of Floats are not supported and may lead to errors. type Float struct { prec uint32 mode RoundingMode acc Accuracy form form neg bool mant nat exp int32 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 44.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Floats.java
* @param b the second {@code float} to compare * @return the result of invoking {@link Float#compare(float, float)} */ public static int compare(float a, float b) { return Float.compare(a, b); } /** * Returns {@code true} if {@code value} represents a real number. This is equivalent to, but not * necessarily implemented as, {@code !(Float.isInfinite(value) || Float.isNaN(value))}. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 29 15:43:06 UTC 2024 - 25.2K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Floats.java
* @param b the second {@code float} to compare * @return the result of invoking {@link Float#compare(float, float)} */ public static int compare(float a, float b) { return Float.compare(a, b); } /** * Returns {@code true} if {@code value} represents a real number. This is equivalent to, but not * necessarily implemented as, {@code !(Float.isInfinite(value) || Float.isNaN(value))}. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 29 15:43:06 UTC 2024 - 25.2K bytes - Viewed (0) -
src/internal/fuzz/encoding_test.go
// * math.Float32bits(float32(math.NaN()))+1 in: `go test fuzz v1 float32(-0) float64(-0) float32(+Inf) float32(-Inf) float32(NaN) float64(+Inf) float64(-Inf) float64(NaN) math.Float64frombits(0x7ff8000000000002) math.Float32frombits(0x7fc00001)`, }, { desc: "int variations", // Although we arbitrarily choose default integer bases (0 or 16), we may
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 00:20:34 UTC 2024 - 8.2K bytes - Viewed (0) -
src/go/constant/value.go
} // Float32Val is like [Float64Val] but for float32 instead of float64. func Float32Val(x Value) (float32, bool) { switch x := x.(type) { case int64Val: f := float32(x) return f, int64Val(f) == x case intVal: f, acc := newFloat().SetInt(x.val).Float32() return f, acc == big.Exact case ratVal: return x.val.Float32() case floatVal: f, acc := x.val.Float32() return f, acc == big.Exact
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 34K bytes - Viewed (0) -
src/reflect/abi.go
} // floatFromReg loads a float value from its register representation in r. // // argSize must be 4 or 8. func floatFromReg(r *abi.RegArgs, reg int, argSize uintptr, to unsafe.Pointer) { switch argSize { case 4: *(*float32)(to) = archFloat32FromReg(r.Floats[reg]) case 8: *(*float64)(to) = *(*float64)(unsafe.Pointer(&r.Floats[reg])) default: panic("bad argSize") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:08:32 UTC 2024 - 15K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_weight.cc
// For f16 quantization, quantize all constant ops as float16. QuantizeOpAsFloat16(rewriter, op, quant_op); } // TODO: b/264218457 - Return a value that accurately captures result // status. return true; } // Inserts ConvertOp which is used for converting float32 ConstantOp into // float16 quantization. If there is an existing ConvertOp connected to the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
assertThat(Floats.constrainToRange((float) 1, (float) 1, (float) 5)).isEqualTo((float) 1); assertThat(Floats.constrainToRange((float) 1, (float) 3, (float) 5)).isEqualTo((float) 3); assertThat(Floats.constrainToRange((float) 0, (float) -5, (float) -1)).isEqualTo((float) -1); assertThat(Floats.constrainToRange((float) 5, (float) 2, (float) 2)).isEqualTo((float) 2); try { Floats.constrainToRange((float) 1, (float) 3, (float) 2);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 29 15:43:06 UTC 2024 - 29.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
assertThat(Floats.constrainToRange((float) 1, (float) 1, (float) 5)).isEqualTo((float) 1); assertThat(Floats.constrainToRange((float) 1, (float) 3, (float) 5)).isEqualTo((float) 3); assertThat(Floats.constrainToRange((float) 0, (float) -5, (float) -1)).isEqualTo((float) -1); assertThat(Floats.constrainToRange((float) 5, (float) 2, (float) 2)).isEqualTo((float) 2); try { Floats.constrainToRange((float) 1, (float) 3, (float) 2);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 29 15:43:06 UTC 2024 - 29.5K bytes - Viewed (0)