Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 135 for MIN_VALUE (0.24 sec)

  1. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

            -0f,
            0f,
            1f,
            Float.MAX_VALUE,
            GREATEST,
            Float.MIN_NORMAL,
            -Float.MIN_NORMAL,
            Float.MIN_VALUE,
            -Float.MIN_VALUE,
            Integer.MIN_VALUE,
            Integer.MAX_VALUE,
            Long.MIN_VALUE,
            Long.MAX_VALUE
          };
    
      private static final float[] VALUES = Floats.concat(NUMBERS, new float[] {NaN});
    
      public void testHashCode() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      private static final int[] EMPTY = {};
      private static final int[] ARRAY1 = {(int) 1};
      private static final int[] ARRAY234 = {(int) 2, (int) 3, (int) 4};
    
      private static final int LEAST = Integer.MIN_VALUE;
      private static final int GREATEST = Integer.MAX_VALUE;
    
      private static final int[] VALUES = {LEAST, (int) -1, (int) 0, (int) 1, GREATEST};
    
      public void testHashCode() {
        for (int value : VALUES) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/DoublesTest.java

            0.1,
            0.5,
            1.0,
            Double.MAX_VALUE,
            GREATEST,
            Double.MIN_NORMAL,
            -Double.MIN_NORMAL,
            Double.MIN_VALUE,
            -Double.MIN_VALUE,
            Integer.MIN_VALUE,
            Integer.MAX_VALUE,
            Long.MIN_VALUE,
            Long.MAX_VALUE
          };
    
      private static final double[] VALUES = Doubles.concat(NUMBERS, new double[] {NaN});
    
      public void testHashCode() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/FloatsTest.java

            -0f,
            0f,
            1f,
            Float.MAX_VALUE,
            GREATEST,
            Float.MIN_NORMAL,
            -Float.MIN_NORMAL,
            Float.MIN_VALUE,
            -Float.MIN_VALUE,
            Integer.MIN_VALUE,
            Integer.MAX_VALUE,
            Long.MIN_VALUE,
            Long.MAX_VALUE
          };
    
      private static final float[] VALUES = Floats.concat(NUMBERS, new float[] {NaN});
    
      public void testHashCode() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/LinearTransformationTest.java

        assertVerticalLinearTransformation(transformation, x);
      }
    
      public void testMappingWithSlope_minimalSlope() {
        double x1 = 1.2;
        double y1 = 3.4;
        double slope = Double.MIN_VALUE;
        LinearTransformation transformation = LinearTransformation.mapping(x1, y1).withSlope(slope);
        assertThat(transformation.isVertical()).isFalse();
        assertThat(transformation.isHorizontal()).isFalse();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/LinearTransformationTest.java

        assertVerticalLinearTransformation(transformation, x);
      }
    
      public void testMappingWithSlope_minimalSlope() {
        double x1 = 1.2;
        double y1 = 3.4;
        double slope = Double.MIN_VALUE;
        LinearTransformation transformation = LinearTransformation.mapping(x1, y1).withSlope(slope);
        assertThat(transformation.isVertical()).isFalse();
        assertThat(transformation.isHorizontal()).isFalse();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/math/PairedStats.java

        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);
        return ensureInUnitRange(sumOfProductsOfDeltas / Math.sqrt(productOfSumsOfSquaresOfDeltas));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      public static final class ImmutableDoubleArrayHeadSubListAsListGenerator
          extends TestDoubleListGenerator {
        @Override
        protected List<Double> create(Double[] elements) {
          Double[] suffix = {Double.MIN_VALUE, Double.MAX_VALUE};
          Double[] all = concat(elements, suffix);
          return makeArray(all).subArray(0, elements.length).asList();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 06 15:23:21 UTC 2023
    - 20K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

      private static final short[] EMPTY = {};
      private static final short[] ARRAY1 = {(short) 1};
      private static final short[] ARRAY234 = {(short) 2, (short) 3, (short) 4};
    
      private static final short LEAST = Short.MIN_VALUE;
      private static final short GREATEST = Short.MAX_VALUE;
    
      private static final short[] VALUES = {LEAST, (short) -1, (short) 0, (short) 1, GREATEST};
    
      public void testHashCode() {
        for (short value : VALUES) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/PairedStats.java

        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);
        return ensureInUnitRange(sumOfProductsOfDeltas / Math.sqrt(productOfSumsOfSquaresOfDeltas));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
Back to top