Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for billion (0.43 sec)

  1. guava-tests/test/com/google/common/math/StatsTesting.java

          BigInteger.valueOf(Long.MAX_VALUE)
              .multiply(BigInteger.valueOf(Long.MAX_VALUE))
              .divide(BigInteger.valueOf(16L))
              .doubleValue();
    
      /**
       * Returns a stream of a million primitive doubles. The stream is parallel, which should cause
       * {@code collect} calls to run in multithreaded mode, so testing the combiner as well as the
       * supplier and accumulator.
       */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 23.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/StatsTesting.java

    import java.util.List;
    
    /**
     * Inputs, expected outputs, and helper methods for tests of {@link StatsAccumulator}, {@link
     * Stats}, {@link PairedStatsAccumulator}, and {@link PairedStats}.
     *
     * @author Pete Gillin
     */
    class StatsTesting {
      // TODO(cpovirk): Convince myself that this larger error makes sense.
      static final double ALLOWED_ERROR = isAndroid() ? .25 : 1e-10;
    
      // Inputs and their statistics:
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 22.4K bytes
    - Viewed (0)
Back to top