Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for division (0.06 sec)

  1. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * @param divisor the divisor (denominator)
       * @throws ArithmeticException if divisor is 0
       * @since 11.0
       */
      public static long remainder(long dividend, long divisor) {
        if (divisor < 0) { // i.e., divisor >= 2^63:
          if (compare(dividend, divisor) < 0) {
            return dividend; // dividend < divisor
          } else {
            return dividend - divisor; // dividend >= divisor
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/LongMath.java

         * bad. We do the leadingZeros check to avoid the division below if at all possible.
         *
         * Otherwise, if b == Long.MIN_VALUE, then the only allowed values of a are 0 and 1. We take
         * care of all a < 0 with their own check, because in particular, the case a == -1 will
         * incorrectly pass the division check below.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/LongMath.java

         * bad. We do the leadingZeros check to avoid the division below if at all possible.
         *
         * Otherwise, if b == Long.MIN_VALUE, then the only allowed values of a are 0 and 1. We take
         * care of all a < 0 with their own check, because in particular, the case a == -1 will
         * incorrectly pass the division check below.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

                    .firstOrNull() ?: PerformanceTestDuration(scenario.scenario, 1) // Fallback for new performance tests (don't use 0 to avoid division by zero)
            })
            .entries
            .map { TestProjectDuration(it.key, it.value) }
            .sortedBy { -it.totalTime }
        return splitIntoBuckets(
            LinkedList(testProjectDurations),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Feb 19 11:22:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/riscv64.s

    	// 13.1: Multiplication Operations
    	MUL	X5, X6, X7				// b3035302
    	MULH	X5, X6, X7				// b3135302
    	MULHU	X5, X6, X7				// b3335302
    	MULHSU	X5, X6, X7				// b3235302
    	MULW	X5, X6, X7				// bb035302
    
    	// 13.2: Division Operations
    	DIV	X5, X6, X7				// b3435302
    	DIVU	X5, X6, X7				// b3535302
    	REM	X5, X6, X7				// b3635302
    	REMU	X5, X6, X7				// b3735302
    	DIVW	X5, X6, X7				// bb435302
    	DIVUW	X5, X6, X7				// bb535302
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 25 12:05:29 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/Quantiles.java

          checkArgument(dataset.length > 0, "Cannot calculate quantiles of an empty dataset");
          if (containsNaN(dataset)) {
            return NaN;
          }
    
          // Calculate the quotient and remainder in the integer division x = k * (N-1) / q, i.e.
          // index * (dataset.length - 1) / scale. If there is no remainder, we can just find the value
          // whose index in the sorted dataset equals the quotient; if there is a remainder, we
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  7. doc/asm.html

    Thus <code>-2</code> is not the integer value minus two,
    but the unsigned 64-bit integer with the same bit pattern.
    The distinction rarely matters but
    to avoid ambiguity, division or right shift where the right operand's
    high bit is set is rejected.
    </p>
    
    <h3 id="symbols">Symbols</h3>
    
    <p>
    Some symbols, such as <code>R1</code> or <code>LR</code>,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/BloomFilter.java

       * @param m total number of bits in Bloom filter (must be positive)
       */
      @VisibleForTesting
      static int optimalNumOfHashFunctions(long n, long m) {
        // (m / n) * log(2), but avoid truncation due to division!
        return max(1, (int) Math.round((double) m / n * Math.log(2)));
      }
    
      /**
       * Computes m (total bits of Bloom filter) which is expected to achieve, for the specified
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/parse.go

    				p.errorf("divide of value with high bit set")
    			}
    			divisor := p.factor()
    			if divisor == 0 {
    				p.errorf("division by zero")
    			} else {
    				value /= divisor
    			}
    		case '%':
    			p.next()
    			divisor := p.factor()
    			if int64(value) < 0 {
    				p.errorf("modulo of value with high bit set")
    			}
    			if divisor == 0 {
    				p.errorf("modulo by zero")
    			} else {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            CliRequest request = new CliRequest(new String[] {"-Drevision=8.1.0", "-Drevision=8.2.0"}, null);
    
            cli.initialize(request);
            // read .mvn/maven.config
            cli.cli(request);
            cli.properties(request);
    
            String revision = request.getUserProperties().getProperty("revision");
            assertEquals("8.2.0", revision);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top