Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for Prime (0.21 sec)

  1. android/guava/src/com/google/common/math/IntMath.java

        // The alternative (x + y) >>> 1 fails for negative values.
        return (x & y) + ((x ^ y) >> 1);
      }
    
      /**
       * Returns {@code true} if {@code n} is a <a
       * href="http://mathworld.wolfram.com/PrimeNumber.html">prime number</a>: an integer <i>greater
       * than one</i> that cannot be factored into a product of <i>smaller</i> positive integers.
       * Returns {@code false} if {@code n} is zero, one, or a composite number (one which <i>can</i> be
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Ints.java

        //     ends up at a[d], which in turn ends up at a[2d], and so on until we get back to a[0].
        //     (All indices taken mod n.) If d and n are mutually prime, all elements will have been
        //     moved at that point. Otherwise, we can rotate the cycle a[1], a[1 + d], a[1 + 2d], etc,
        //     then a[2] etc, and so on until we have rotated all elements. There are gcd(d, n) cycles
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Range.java

     *       {@code r.contains(c1) && r.contains(c3)} implies {@code r.contains(c2)}). This means that a
     *       {@code Range<Integer>} can never be used to represent, say, "all <i>prime</i> numbers from
     *       1 to 100."
     *   <li>When evaluated as a {@link Predicate}, a range yields the same result as invoking {@link
     *       #contains}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
Back to top