Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Sqrt (0.12 sec)

  1. android/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);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. 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);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/gradients/math_grad.cc

     public:
      explicit SqrtGradientFunction(AbstractTensorHandle* sqrt) : sqrt_(sqrt) {
        sqrt->Ref();
      }
      Status Compute(AbstractContext* ctx,
                     absl::Span<AbstractTensorHandle* const> grad_outputs,
                     absl::Span<AbstractTensorHandle*> grad_inputs) override {
        std::string name = "Sqrt_Grad";
        TF_RETURN_IF_ERROR(SqrtGrad(ctx, sqrt_.get(), grad_outputs[0],
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 15.2K bytes
    - Viewed (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)
    
    Calling C function pointers is currently not supported, however you can
    declare Go variables which hold C function pointers and pass them
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSet.java

        }
        // Guess the size is "halfway between" all duplicates and no duplicates, on a log scale.
        return Math.max(
            ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY,
            IntMath.sqrt(inputElementsIncludingAnyDuplicates, RoundingMode.CEILING));
      }
    
      private static final long serialVersionUID = 0xcafebabe;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
Back to top