- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 156 for Rsqrt (0.07 sec)
-
android/guava-tests/test/com/google/common/math/MathTesting.java
fractionalBuilder.add(x); } } } INTEGRAL_DOUBLE_CANDIDATES = integralBuilder.build(); fractionalBuilder.add(1.414).add(1.415).add(Math.sqrt(2)); fractionalBuilder.add(5.656).add(5.657).add(4 * Math.sqrt(2)); for (double d : INTEGRAL_DOUBLE_CANDIDATES) { double x = 1 / d; if (x != Math.rint(x)) { fractionalBuilder.add(x); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 11.2K bytes - Viewed (0) -
src/math/big/int_test.go
if !testModSqrt(t, &elt, &mod, &sq, &sqrt) { t.Errorf("#%d: failed (sqrt(%d,%d) = %s)", x, &elt, &mod, &sqrt) } isSquare[sq.Uint64()] = true } // test all non-squares for x := 1; x < n; x++ { sq.SetInt64(int64(x)) z := sqrt.ModSqrt(&sq, &mod) if !isSquare[x] && z != nil { t.Errorf("#%d: failed (sqrt(%d,%d) = nil)", x, &sqrt, &mod) } } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0) -
pkg/scheduler/framework/parallelize/parallelism.go
} // chunkSizeFor returns a chunk size for the given number of items to use for // parallel work. The size aims to produce good CPU utilization. // returns max(1, min(sqrt(n), n/Parallelism)) func chunkSizeFor(n, parallelism int) int { s := int(math.Sqrt(float64(n))) if r := n/parallelism + 1; s > r { s = r } else if s < 1 { s = 1 } return s }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 09 17:12:30 UTC 2023 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
assertEquals(BigIntegerMath.sqrt(valueOf(x), mode), valueOf(LongMath.sqrt(x, mode))); } } } /* Relies on the correctness of sqrt(long, FLOOR). */ @GwtIncompatible // TODO public void testSqrtExactMatchesFloorOrThrows() { for (long x : POSITIVE_LONG_CANDIDATES) { long sqrtFloor = LongMath.sqrt(x, FLOOR);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 04 20:15:57 UTC 2024 - 32.5K bytes - Viewed (0) -
test/fixedbugs/issue60991.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 26 17:08:05 UTC 2023 - 242 bytes - Viewed (0) -
android/guava/src/com/google/common/math/LongMath.java
* Math.sqrt(k * k) <= Math.sqrt(x) <= Math.sqrt((k + 1) * (k + 1)) * since Math.sqrt is monotonic. * (long) Math.sqrt(k * k) <= (long) Math.sqrt(x) <= (long) Math.sqrt((k + 1) * (k + 1)) * since casting to long is monotonic * k <= (long) Math.sqrt(x) <= k + 1 * since (long) Math.sqrt(k * k) == k, as checked exhaustively in
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 44.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/outline_composites.cc
if (!erf_user_user) return failure(); // `mul 1/sqrt(2)` auto* erf_input = GetInputOpWithOneUse(op, 0); if (!erf_input) return failure(); // `mul 0.5` auto* erf_user_user_input = GetInputOpWithOneUse(erf_user_user, 0); if (!erf_user_user_input) return failure(); // Check `mul 0.5` and `mul 1/sqrt(2)` refer to the same input.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 9.6K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
* Math.sqrt(k * k) <= Math.sqrt(x) <= Math.sqrt((k + 1) * (k + 1)) * since Math.sqrt is monotonic. * (long) Math.sqrt(k * k) <= (long) Math.sqrt(x) <= (long) Math.sqrt((k + 1) * (k + 1)) * since casting to long is monotonic * k <= (long) Math.sqrt(x) <= k + 1 * since (long) Math.sqrt(k * k) == k, as checked exhaustively in
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 44.6K bytes - Viewed (0) -
test/fixedbugs/issue56109.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 10 21:47:48 UTC 2022 - 303 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/quantize-numeric-verify.mlir
// MODEL-DEBUG: %[[f_sqrt1:.*]] = "tfl.sqrt"(%[[f_conv]] // MODEL-DEBUG: %[[q_sqrt1:.*]] = "tfl.sqrt"(%[[dq0]] // MODEL-DEBUG: %[[q1:.*]] = "tfl.quantize"(%[[q_sqrt1]]) // MODEL-DEBUG: %[[dq1:.*]] = "tfl.dequantize"(%[[q1]]) // MODEL-DEBUG: %[[f_sqrt2:.*]] = "tfl.sqrt"(%[[f_sqrt1]]) // MODEL-DEBUG-NOT: debug_ // MODEL-DEBUG-SAME: (tensor<?x1x1x3xf32>) // MODEL-DEBUG: %[[q_sqrt2:.*]] = "tfl.sqrt"(%[[dq1]] // MODEL-DEBUG-NOT: debug_
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 15.1K bytes - Viewed (0)