Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 213 for double (0.16 sec)

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

        return new ImmutableDoubleArray(new double[] {e0, e1, e2, e3});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableDoubleArray of(double e0, double e1, double e2, double e3, double e4) {
        return new ImmutableDoubleArray(new double[] {e0, e1, e2, e3, e4});
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/Quantiles.java

        }
      }
    
      private static double[] longsToDoubles(long[] longs) {
        int len = longs.length;
        double[] doubles = new double[len];
        for (int i = 0; i < len; i++) {
          doubles[i] = longs[i];
        }
        return doubles;
      }
    
      private static double[] intsToDoubles(int[] ints) {
        int len = ints.length;
        double[] doubles = new double[len];
        for (int i = 0; i < len; i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/LinearTransformationTest.java

      }
    
      public void testMappingAnd_horizontal() {
        double x1 = 1.2;
        double xDelta = 3.4;
        double y = 5.6;
        LinearTransformation transformation = LinearTransformation.mapping(x1, y).and(x1 + xDelta, y);
        assertHorizontalLinearTransformation(transformation, y);
      }
    
      public void testMappingAnd_vertical() {
        double x = 1.2;
        double y1 = 3.4;
        double yDelta = 5.6;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/LinearTransformationTest.java

      }
    
      public void testMappingAnd_horizontal() {
        double x1 = 1.2;
        double xDelta = 3.4;
        double y = 5.6;
        LinearTransformation transformation = LinearTransformation.mapping(x1, y).and(x1 + xDelta, y);
        assertHorizontalLinearTransformation(transformation, y);
      }
    
      public void testMappingAnd_vertical() {
        double x = 1.2;
        double y1 = 3.4;
        double yDelta = 5.6;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      private static final double[] VALUES = {
        Double.NEGATIVE_INFINITY,
        -Double.MAX_VALUE,
        (double) Long.MIN_VALUE,
        (double) Integer.MIN_VALUE,
        -Math.PI,
        -1.0,
        -Double.MIN_VALUE,
        -0.0,
        +0.0,
        Double.MIN_VALUE,
        1.0,
        Math.PI,
        (double) Integer.MAX_VALUE,
        (double) Long.MAX_VALUE,
        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      public static final class ImmutableDoubleArrayMiddleSubListAsListGenerator
          extends TestDoubleListGenerator {
        @Override
        protected List<Double> create(Double[] elements) {
          Double[] prefix = {Double.MIN_VALUE, Double.MAX_VALUE};
          Double[] suffix = {86.0, 99.0};
          Double[] all = concat(concat(prefix, elements), suffix);
          return makeArray(all).subArray(2, elements.length + 2).asList();
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      private static final double[] VALUES = {
        Double.NEGATIVE_INFINITY,
        -Double.MAX_VALUE,
        (double) Long.MIN_VALUE,
        (double) Integer.MIN_VALUE,
        -Math.PI,
        -1.0,
        -Double.MIN_VALUE,
        -0.0,
        +0.0,
        Double.MIN_VALUE,
        1.0,
        Math.PI,
        (double) Integer.MAX_VALUE,
        (double) Long.MAX_VALUE,
        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            .setExpectation(Double.POSITIVE_INFINITY, UP, CEILING)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testRoundToDouble_wayTooBig() {
        BigInteger bi = BigInteger.ONE.shiftLeft(2 * Double.MAX_EXPONENT);
        new RoundToDoubleTester(bi)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            .setExpectation(Double.POSITIVE_INFINITY, UP, CEILING)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testRoundToDouble_wayTooBig() {
        BigInteger bi = BigInteger.ONE.shiftLeft(2 * Double.MAX_EXPONENT);
        new RoundToDoubleTester(bi)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java

          Double[] suffix = {(double) 86, (double) 99};
          Double[] all = concat(concat(prefix, elements), suffix);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Double[] concat(Double[] left, Double[] right) {
        Double[] result = new Double[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.6K bytes
    - Viewed (0)
Back to top