- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for isNegativeInfinity (0.11 sec)
-
guava-tests/test/com/google/common/math/StatsTest.java
assertThat(ONE_VALUE_STATS.mean()).isWithin(ALLOWED_ERROR).of(ONE_VALUE); assertThat(Stats.of(POSITIVE_INFINITY).mean()).isPositiveInfinity(); assertThat(Stats.of(NEGATIVE_INFINITY).mean()).isNegativeInfinity(); assertThat(Stats.of(NaN).mean()).isNaN(); assertThat(TWO_VALUES_STATS.mean()).isWithin(ALLOWED_ERROR).of(TWO_VALUES_MEAN);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 33.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
.isPositiveInfinity(); } else if (values.hasAnyNegativeInfinity()) { assertWithMessage("mean of " + values).that(mean).isNegativeInfinity(); assertWithMessage("mean by addAll(Stats) of " + values) .that(meanByAddAllStats) .isNegativeInfinity(); } else { assertWithMessage("mean of " + values) .that(mean) .isWithin(ALLOWED_ERROR)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 36.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
.isPositiveInfinity(); } else if (values.hasAnyNegativeInfinity()) { assertWithMessage("mean of " + values).that(mean).isNegativeInfinity(); assertWithMessage("mean by addAll(Stats) of " + values) .that(meanByAddAllStats) .isNegativeInfinity(); } else { assertWithMessage("mean of " + values) .that(mean) .isWithin(ALLOWED_ERROR)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 36.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
assertTrue(Double.isNaN(DoubleMath.log2(-d))); } } public void testLog2Zero() { assertThat(DoubleMath.log2(0.0)).isNegativeInfinity(); assertThat(DoubleMath.log2(-0.0)).isNegativeInfinity(); } public void testLog2NaNInfinity() { assertThat(DoubleMath.log2(Double.POSITIVE_INFINITY)).isPositiveInfinity();
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/math/DoubleMathTest.java
assertTrue(Double.isNaN(DoubleMath.log2(-d))); } } public void testLog2Zero() { assertThat(DoubleMath.log2(0.0)).isNegativeInfinity(); assertThat(DoubleMath.log2(-0.0)).isNegativeInfinity(); } public void testLog2NaNInfinity() { assertThat(DoubleMath.log2(Double.POSITIVE_INFINITY)).isPositiveInfinity();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 27.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
// interpolating between NEGATIVE_INFINITY and 1.0 assertThat(Quantiles.scale(10).index(1).compute(ONE_TO_FIVE_AND_NEGATIVE_INFINITY)) .isNegativeInfinity(); } public void testScale_indexes_varargs_compute_doubleCollection_bothInfinities() { assertThat( Quantiles.scale(10) .indexes(0, 1, 2, 8, 9, 10)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 29.7K bytes - Viewed (0)