- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 351 for doble (0.07 sec)
-
guava-tests/test/com/google/common/math/DoubleUtilsTest.java
for (double positiveValue : POSITIVE_FINITE_DOUBLE_CANDIDATES) { assertThat(DoubleUtils.ensureNonNegative(positiveValue)).isEqualTo(positiveValue); assertThat(DoubleUtils.ensureNonNegative(-positiveValue)).isEqualTo(0.0); } assertThat(DoubleUtils.ensureNonNegative(Double.POSITIVE_INFINITY)).isPositiveInfinity(); assertThat(DoubleUtils.ensureNonNegative(Double.NEGATIVE_INFINITY)).isEqualTo(0.0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 03 18:10:55 UTC 2024 - 3K bytes - Viewed (0) -
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++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 17:02:53 UTC 2023 - 29.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java
private static final double ALLOWED_ERROR = 1.0e-10; private static final QuantilesAlgorithm REFERENCE_ALGORITHM = QuantilesAlgorithm.SORTING; private static final Set<QuantilesAlgorithm> NON_REFERENCE_ALGORITHMS = Sets.difference( ImmutableSet.copyOf(QuantilesAlgorithm.values()), ImmutableSet.of(REFERENCE_ALGORITHM)); private double[] dataset; @Override protected void setUp() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/MathPreconditionsTest.java
public void testCheckNonNegative_zeroDouble() { MathPreconditions.checkNonNegative("double", 0d); } public void testCheckNonNegative_maxDouble() { MathPreconditions.checkNonNegative("double", Double.MAX_VALUE); } public void testCheckNonNegative_minDouble() { MathPreconditions.checkNonNegative("double", Double.MIN_VALUE); } public void testCheckNonNegative_positiveDouble() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 8K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/MultipleSetContainsBenchmark.java
public class MultipleSetContainsBenchmark { @Param({"0.0", "0.1", "0.7", "1.0"}) double emptySetProportion; @Param({"0.0", "0.1", "0.7", "1.0"}) double singletonSetProportion; @Param({"0.2", "0.8"}) double hitRate; static final Object PRESENT = new Object(); static final Object ABSENT = new Object();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
new double[] {(double) 3})) .isEqualTo(1); assertThat( Doubles.indexOf( new double[] { (double) 2, (double) 3, (double) 2, (double) 3, (double) 4, (double) 2, (double) 3 }, new double[] {(double) 2, (double) 3, (double) 4})) .isEqualTo(2); assertThat(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
new double[] {(double) 3})) .isEqualTo(1); assertThat( Doubles.indexOf( new double[] { (double) 2, (double) 3, (double) 2, (double) 3, (double) 4, (double) 2, (double) 3 }, new double[] {(double) 2, (double) 3, (double) 4})) .isEqualTo(2); assertThat(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
assertTrue(Double.isNaN(DoubleMath.log2(Double.NaN))); } @GwtIncompatible // StrictMath private strictfp double trueLog2(double d) { double trueLog2 = StrictMath.log(d) / StrictMath.log(2); // increment until it's >= the true value while (StrictMath.pow(2.0, trueLog2) < d) { trueLog2 = StrictMath.nextUp(trueLog2); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 27.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.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,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 10.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/DoublesMethodsForWeb.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 26 00:50:12 UTC 2023 - 1K bytes - Viewed (0)