- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 110 for sqrt1 (0.06 sec)
-
src/cmd/compile/internal/ssa/_gen/LOONG64.rules
(RotateLeft64 x y) => (ROTRV x (NEGV <y.Type> y)) // unary ops (Neg(64|32|16|8) ...) => (NEGV ...) (Neg(32|64)F ...) => (NEG(F|D) ...) (Com(64|32|16|8) x) => (NOR (MOVVconst [0]) x) (Sqrt ...) => (SQRTD ...) (Sqrt32 ...) => (SQRTF ...) // boolean ops -- booleans are represented with 0=false, 1=true (AndB ...) => (AND ...) (OrB ...) => (OR ...) (EqB x y) => (XOR (MOVVconst [1]) (XOR <typ.Bool> x y))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 19:26:25 UTC 2023 - 31.8K bytes - Viewed (0) -
src/math/rand/v2/rand_test.go
res := new(statsResults) var sum, squaresum float64 for _, s := range samples { sum += s squaresum += s * s } res.mean = sum / float64(len(samples)) res.stddev = math.Sqrt(squaresum/float64(len(samples)) - res.mean*res.mean) return res } func checkSampleDistribution(t *testing.T, samples []float64, expected *statsResults) { t.Helper() actual := getStatsResults(samples)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 17.4K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/balanced_allocation.go
mean := totalFraction / float64(len(resourceToFractions)) var sum float64 for _, fraction := range resourceToFractions { sum = sum + (fraction-mean)*(fraction-mean) } std = math.Sqrt(sum / float64(len(resourceToFractions))) } // STD (standard deviation) is always a positive value. 1-deviation lets the score to be higher for node which has least deviation and
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 6.5K bytes - Viewed (0) -
src/runtime/hash_test.go
var c float64 // find c such that Prob(mean-c*stddev < x < mean+c*stddev)^N > .9999 for c = 0.0; math.Pow(math.Erf(c/math.Sqrt(2)), float64(N)) < .9999; c += .1 { } c *= 11.0 // allowed slack: 40% to 60% - we don't need to be perfectly random mean := .5 * REP stddev := .5 * math.Sqrt(REP) low := int(mean - c*stddev) high := int(mean + c*stddev) for i := 0; i < n; i++ { for j := 0; j < hashSize; j++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 17:50:18 UTC 2024 - 18.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs
} table DivOptions { fused_activation_function:ActivationFunctionType; } table TopKV2Options { } enum CombinerType : byte { SUM = 0, MEAN = 1, SQRTN = 2, } table EmbeddingLookupSparseOptions { combiner:CombinerType; } table GatherOptions { axis: int; // Parameters for Gather version 5 or above. batch_dims: int = 0; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 14:28:27 UTC 2024 - 30K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
for (int exp : asList(-1022, -50, -1, 0, 1, 2, 3, 4, 100, 1022, 1023)) { for (RoundingMode mode : asList(HALF_EVEN, HALF_UP, HALF_DOWN)) { double x = Math.scalb(Math.sqrt(2) + 0.001, exp); double y = Math.scalb(Math.sqrt(2) - 0.001, exp); if (exp < 0) { assertEquals(exp + 1, DoubleMath.log2(x, mode)); assertEquals(exp, DoubleMath.log2(y, mode)); } else {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 28.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/optimize.mlir
func.return %2 : tensor<1x2xf32> // CHECK-DAG: %[[cst:.*]] = arith.constant dense<{{\[\[}}3.000000e+00, 4.000000e+00]]> : tensor<1x2xf32> // CHECK: %[[SQRT:[0-9].*]] = "tfl.sqrt" // CHECK: %[[RES:[0-9].*]] = tfl.add(%[[SQRT]], %[[cst]]) } // CHECK-LABEL: fuseTileWithBinaryOp1 func.func @fuseTileWithBinaryOp1(%arg0: tensor<1x1xf32>, %arg1: tensor<1x128xf32>) -> tensor<1x128xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 284.1K bytes - Viewed (0) -
android/guava/src/com/google/common/math/Stats.java
* * @throws IllegalStateException if the dataset is empty */ public double populationStandardDeviation() { return Math.sqrt(populationVariance()); } /** * Returns the <a href="http://en.wikipedia.org/wiki/Variance#Sample_variance">unbiased sample
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 22K bytes - Viewed (0) -
guava/src/com/google/common/base/Preconditions.java
* * <pre>{@code * public static double sqrt(double value) { * if (value < 0) { * throw new IllegalArgumentException("input is negative: " + value); * } * // calculate square root * } * }</pre> * * <p>to be replaced with the more compact * * <pre>{@code * public static double sqrt(double value) { * checkArgument(value >= 0, "input is negative: %s", value);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 11 11:52:14 UTC 2024 - 52.9K bytes - Viewed (0) -
src/math/big/int.go
z.neg = true // z cannot be zero if x is positive return z } // Sqrt sets z to ⌊√x⌋, the largest integer such that z² ≤ x, and returns z. // It panics if x is negative. func (z *Int) Sqrt(x *Int) *Int { if x.neg { panic("square root of negative number") } z.neg = false z.abs = z.abs.sqrt(x.abs) return z
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 17:02:38 UTC 2024 - 33.1K bytes - Viewed (0)