- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 77 for doubles (0.04 sec)
-
guava/src/com/google/common/primitives/Doubles.java
*/ @InlineMe(replacement = "Double.compare(a, b)") public static int compare(double a, double b) { return Double.compare(a, b); } /** * Returns {@code true} if {@code value} represents a real number. This is equivalent to, but not * necessarily implemented as, {@code !(Double.isInfinite(value) || Double.isNaN(value))}. * * <p>Prefer {@link Double#isFinite(double)} instead. * * @since 10.0
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
testRotate(new double[] {}, -1, new double[] {}); testRotate(new double[] {}, 0, new double[] {}); testRotate(new double[] {}, 1, new double[] {}); testRotate(new double[] {1}, -2, new double[] {1}); testRotate(new double[] {1}, -1, new double[] {1}); testRotate(new double[] {1}, 0, new double[] {1}); testRotate(new double[] {1}, 1, new double[] {1}); testRotate(new double[] {1}, 2, new double[] {1});
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
testRotate(new double[] {}, -1, new double[] {}); testRotate(new double[] {}, 0, new double[] {}); testRotate(new double[] {}, 1, new double[] {}); testRotate(new double[] {1}, -2, new double[] {1}); testRotate(new double[] {1}, -1, new double[] {1}); testRotate(new double[] {1}, 0, new double[] {1}); testRotate(new double[] {1}, 1, new double[] {1}); testRotate(new double[] {1}, 2, new double[] {1});
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathTesting.java
} static final ImmutableSet<Double> INTEGRAL_DOUBLE_CANDIDATES; static final ImmutableSet<Double> FRACTIONAL_DOUBLE_CANDIDATES; static final Iterable<Double> INFINITIES = Doubles.asList(Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY); static final Iterable<Double> FINITE_DOUBLE_CANDIDATES; static final Iterable<Double> POSITIVE_FINITE_DOUBLE_CANDIDATES;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java
@Override protected List<Double> create(Double[] elements) { return asList(elements); } } public static final class DoublesAsListHeadSubListGenerator extends TestDoubleListGenerator { @Override protected List<Double> create(Double[] elements) { Double[] suffix = {Double.MIN_VALUE, Double.MAX_VALUE}; Double[] all = concat(elements, suffix);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
new RoundToDoubleTester(maxDoubleAsBigInteger) .setExpectation(Double.MAX_VALUE, values()) .test(); } @J2ktIncompatible @GwtIncompatible public void testRoundToDouble_maxDoublePlusOne() { BigInteger maxDoubleAsBigInteger = DoubleMath.roundToBigInteger(Double.MAX_VALUE, UNNECESSARY).add(BigInteger.ONE);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/DoublesMethodsForWeb.java
* the License. */ package com.google.common.primitives; import com.google.common.annotations.GwtCompatible; /** * Holder for web specializations of methods of {@code Doubles}. Intended to be empty for regular * version. */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 860 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
Doubles.asList( -Double.MIN_VALUE, -Double.MIN_NORMAL, -1, -20, Double.NaN, Double.NEGATIVE_INFINITY, -0.001)); public void testFuzzyEqualsFinite() { for (double a : FINITE_DOUBLE_CANDIDATES) { for (double b : FINITE_DOUBLE_CANDIDATES) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/DoublesMethodsForWeb.java
* the License. */ package com.google.common.primitives; import com.google.common.annotations.GwtCompatible; /** * Holder for web specializations of methods of {@code Doubles}. Intended to be empty for regular * version. */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 860 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0); assertThat(Bytes.toArray(bytes)).isEqualTo(array); assertThat(Bytes.toArray(shorts)).isEqualTo(array); assertThat(Bytes.toArray(ints)).isEqualTo(array); assertThat(Bytes.toArray(floats)).isEqualTo(array); assertThat(Bytes.toArray(longs)).isEqualTo(array); assertThat(Bytes.toArray(doubles)).isEqualTo(array); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0)