Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for Multiplication (0.2 sec)

  1. src/strconv/ftoaryu.go

    //
    // See Ulf Adams, "Ryū: Fast Float-to-String Conversion" (doi:10.1145/3192366.3192369)
    //
    // Fixed precision formatting is a variant of the original paper's
    // algorithm, where a single multiplication by 10^k is required,
    // sharing the same rounding guarantees.
    
    // ryuFtoaFixed32 formats mant*(2^exp) with prec decimal digits.
    func ryuFtoaFixed32(d *decimalSlice, mant uint32, exp int, prec int) {
    	if prec < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 00:28:56 UTC 2022
    - 15.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

        // [-512, 512], instead of [-32767, 32767].
        // For now this behavior is specific for SVDF, where 6 bits are reserved for
        // the reduce operation after element-wise multiplication between state and
        // time weights.
        if (tensor_property.number_of_bits == 10) {
          SmallVector<double, 4> mins(1, std::numeric_limits<double>::max());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

          return true;
        }
      },
      /**
       * This strategy uses all 128 bits of {@link Hashing#murmur3_128} when hashing. It looks different
       * from the implementation in MURMUR128_MITZ_32 because we're avoiding the multiplication in the
       * loop and doing a (much simpler) += hash2. We're also changing the index to a positive number by
       * AND'ing with Long.MAX_VALUE instead of flipping the bits.
       */
      MURMUR128_MITZ_64() {
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/BloomFilterStrategies.java

          return true;
        }
      },
      /**
       * This strategy uses all 128 bits of {@link Hashing#murmur3_128} when hashing. It looks different
       * from the implementation in MURMUR128_MITZ_32 because we're avoiding the multiplication in the
       * loop and doing a (much simpler) += hash2. We're also changing the index to a positive number by
       * AND'ing with Long.MAX_VALUE instead of flipping the bits.
       */
      MURMUR128_MITZ_64() {
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertEquals(1, future.get(-1, SECONDS).intValue());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
      public void testOverflowTimeout() throws Exception {
        // First, sanity check that naive multiplication would really overflow to a negative number:
        long nanosPerSecond = NANOSECONDS.convert(1, SECONDS);
        assertThat(nanosPerSecond * Long.MAX_VALUE).isLessThan(0L);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/unroll_batch_matmul.cc

      }
    
      const int64_t rows = lhs_shape[lhs_dims - 2];
      const int64_t cols = rhs_shape[rhs_dims - 1];
    
      if (lhs_shape[lhs_dims - 1] != rhs_shape[rhs_dims - 2]) {
        // Input dimensions must be compatible for multiplication.
        return failure();
      }
    
      const auto matmul_type = RankedTensorType::get({rows, cols}, element_type);
    
      if (lhs_dims == 2 && rhs_dims == 2) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertEquals(1, future.get(-1, SECONDS).intValue());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
      public void testOverflowTimeout() throws Exception {
        // First, sanity check that naive multiplication would really overflow to a negative number:
        long nanosPerSecond = NANOSECONDS.convert(1, SECONDS);
        assertThat(nanosPerSecond * Long.MAX_VALUE).isLessThan(0L);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/PairedStatsAccumulator.java

        double ySumOfSquaresOfDeltas = yStats.sumOfSquaresOfDeltas();
        checkState(xSumOfSquaresOfDeltas > 0.0);
        checkState(ySumOfSquaresOfDeltas > 0.0);
        // The product of two positive numbers can be zero if the multiplication underflowed. We
        // force a positive value by effectively rounding up to MIN_VALUE.
        double productOfSumsOfSquaresOfDeltas =
            ensurePositive(xSumOfSquaresOfDeltas * ySumOfSquaresOfDeltas);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  9. src/crypto/internal/nistec/p256_asm.go

    // The following assembly functions are implemented in p256_asm_*.s
    
    // Montgomery multiplication. Sets res = in1 * in2 * R⁻¹ mod p.
    //
    //go:noescape
    func p256Mul(res, in1, in2 *p256Element)
    
    // Montgomery square, repeated n times (n >= 1).
    //
    //go:noescape
    func p256Sqr(res, in *p256Element, n int)
    
    // Montgomery multiplication by R⁻¹, or 1 outside the domain.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/MIPSOps.go

    	"F0",
    	"F2",
    	"F4",
    	"F6",
    	"F8",
    	"F10",
    	"F12",
    	"F14",
    	"F16",
    	"F18",
    	"F20",
    	"F22",
    	"F24",
    	"F26",
    	"F28",
    	"F30",
    
    	"HI", // high bits of multiplication
    	"LO", // low bits of multiplication
    
    	// If you add registers, update asyncPreempt in runtime.
    
    	// pseudo-registers
    	"SB",
    }
    
    func init() {
    	// Make map from reg names to reg integers.
    	if len(regNamesMIPS) > 64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 24K bytes
    - Viewed (0)
Back to top