Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 40 for Sqrt (0.08 seconds)

  1. 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);
            assertEquals(exp + 1, DoubleMath.log2(x, mode));
            assertEquals(exp, DoubleMath.log2(y, mode));
          }
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 03 16:20:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  2. src/cmd/asm/internal/asm/testdata/loong64enc1.s

    	XVMODV		X3, X2, X1	// 418ce374
    	XVMODBU		X3, X2, X1	// 410ce674
    	XVMODHU		X3, X2, X1	// 418ce674
    	XVMODWU		X3, X2, X1	// 410ce774
    	XVMODVU		X3, X2, X1	// 418ce774
    
    	// [X]VF{SQRT/RECIP/RSQRT}{F/D} instructions
    	VFSQRTF		V1, V2		// 22e49c72
    	VFSQRTD		V1, V2		// 22e89c72
    	VFRECIPF	V1, V2		// 22f49c72
    	VFRECIPD	V1, V2		// 22f89c72
    	VFRSQRTF	V1, V2		// 22049d72
    	VFRSQRTD	V1, V2		// 22089d72
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Nov 27 00:46:52 GMT 2025
    - 44.5K bytes
    - Click Count (0)
  3. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 25.1K bytes
    - Click Count (0)
  4. src/cmd/cgo/doc.go

    assignment context to retrieve both the return value (if any) and the
    C errno variable as an error (use _ to skip the result value if the
    function returns void). For example:
    
    	n, err = C.sqrt(-1)
    	_, err := C.voidFunc()
    	var n, err = C.sqrt(1)
    
    Note that the C errno value may be non-zero, and thus the err result may be
    non-nil, even if the function call is successful. Unlike normal Go conventions,
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Dec 08 22:37:14 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals(ImmutableSet.of(1, 2, 3), bimap.inverse().keySet());
        assertEquals(ImmutableSet.of(1, 2, 3), sync.inverse().keySet());
      }
    
      private static final Function<Integer, Double> SQRT_FUNCTION = in -> Math.sqrt(in);
    
      public void testTransformValues() {
        Map<String, Integer> map = ImmutableMap.of("a", 4, "b", 9);
        Map<String, Double> transformed = transformValues(map, SQRT_FUNCTION);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  6. RELEASE.md

            1e-10))` Alternatively, you can override `convolution_op`: `python class
            StandardizedConv2D(tf.keras.Layer): def convolution_op(self, inputs,
            kernel): mean, var = tf.nn.moments(kernel, axes=[0, 1, 2],
            keepdims=True) # Author code uses std + 1e-5 return
            super().convolution_op(inputs, (kernel - mean) / tf.sqrt(var + 1e-10))`
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
  7. lib/fips140/v1.26.0.zip

    tables[tableIndex].Select(t, windowValue) p.Add(p, t) tableIndex-- windowValue = byte & 0b1111 tables[tableIndex].Select(t, windowValue) p.Add(p, t) tableIndex-- } return p, nil } // {{.p}}Sqrt sets e to a square root of x. If x is not a square, {{.p}}Sqrt returns // false and e is unchanged. e and x can overlap. func {{.p}}Sqrt(e, x *{{ .Element }}) (isSquare bool) { candidate := new({{ .Element }}) {{.p}}SqrtCandidate(candidate, x) square := new({{ .Element }}).Square(candidate) if square.Equal(x) != 1 {...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:32 GMT 2026
    - 660.3K bytes
    - Click Count (0)
  8. lib/fips140/v1.0.0-c2097c7c.zip

    tables[tableIndex].Select(t, windowValue) p.Add(p, t) tableIndex-- windowValue = byte & 0b1111 tables[tableIndex].Select(t, windowValue) p.Add(p, t) tableIndex-- } return p, nil } // {{.p}}Sqrt sets e to a square root of x. If x is not a square, {{.p}}Sqrt returns // false and e is unchanged. e and x can overlap. func {{.p}}Sqrt(e, x *{{ .Element }}) (isSquare bool) { candidate := new({{ .Element }}) {{.p}}SqrtCandidate(candidate, x) square := new({{ .Element }}).Square(candidate) if square.Equal(x) != 1 {...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
  9. api/go1.txt

    pkg math, func Signbit(float64) bool
    pkg math, func Sin(float64) float64
    pkg math, func Sincos(float64) (float64, float64)
    pkg math, func Sinh(float64) float64
    pkg math, func Sqrt(float64) float64
    pkg math, func Tan(float64) float64
    pkg math, func Tanh(float64) float64
    pkg math, func Trunc(float64) float64
    pkg math, func Y0(float64) float64
    pkg math, func Y1(float64) float64
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
  10. doc/go_spec.html

    the non-blank method and field names must be distinct.
    </p>
    
    <p>
    Given defined type <code>Point</code> the declarations
    </p>
    
    <pre>
    func (p *Point) Length() float64 {
    	return math.Sqrt(p.x * p.x + p.y * p.y)
    }
    
    func (p *Point) Scale(factor float64) {
    	p.x *= factor
    	p.y *= factor
    }
    </pre>
    
    <p>
    bind the methods <code>Length</code> and <code>Scale</code>,
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
Back to Top