- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for isnan (0.01 sec)
-
android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
if (values.hasAnyNonFinite()) { assertWithMessage("population covariance of %s", values).that(populationCovariance).isNaN(); assertWithMessage("population covariance by addAll(PairedStats) of %s", values) .that(populationCovarianceByAddAllPartitionedPairedStats) .isNaN(); } else { assertWithMessage("population covariance of %s", values) .that(populationCovariance)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 23.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
assertWithMessage("mean of %s", values).that(mean).isNaN(); assertWithMessage("mean by addAll(Stats) of %s", values).that(meanByAddAllStats).isNaN(); } else if (values.hasAnyPositiveInfinity() && values.hasAnyNegativeInfinity()) { assertWithMessage("mean of %s", values).that(mean).isNaN(); assertWithMessage("mean by addAll(Stats) of %s", values).that(meanByAddAllStats).isNaN(); } else if (values.hasAnyPositiveInfinity()) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 36.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/PairedStatsTest.java
assertThat(createSingleStats(Double.POSITIVE_INFINITY, 1.23).populationCovariance()).isNaN(); assertThat(createSingleStats(Double.NEGATIVE_INFINITY, 1.23).populationCovariance()).isNaN(); assertThat(createSingleStats(Double.NaN, 1.23).populationCovariance()).isNaN(); assertThat(TWO_VALUES_PAIRED_STATS.populationCovariance()) .isWithin(ALLOWED_ERROR)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 14K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/PairedStatsTest.java
assertThat(createSingleStats(Double.POSITIVE_INFINITY, 1.23).populationCovariance()).isNaN(); assertThat(createSingleStats(Double.NEGATIVE_INFINITY, 1.23).populationCovariance()).isNaN(); assertThat(createSingleStats(Double.NaN, 1.23).populationCovariance()).isNaN(); assertThat(TWO_VALUES_PAIRED_STATS.populationCovariance()) .isWithin(ALLOWED_ERROR)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 14K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
if (values.hasAnyNonFinite()) { assertWithMessage("population covariance of %s", values).that(populationCovariance).isNaN(); assertWithMessage("population covariance by addAll(PairedStats) of %s", values) .that(populationCovarianceByAddAllPartitionedPairedStats) .isNaN(); } else { assertWithMessage("population covariance of %s", values) .that(populationCovariance)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 23.4K bytes - Viewed (0) -
tests/test_jsonable_encoder.py
import warnings from collections import deque from dataclasses import dataclass from datetime import datetime, timezone from decimal import Decimal from enum import Enum from math import isinf, isnan from pathlib import PurePath, PurePosixPath, PureWindowsPath from typing import Optional, TypedDict import pytest from fastapi._compat import Undefined from fastapi.encoders import jsonable_encoder
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 9.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat(max(-0.0, 0.0)).isEqualTo(0.0); assertThat(max(0.0, -0.0)).isEqualTo(0.0); assertThat(max(NUMBERS)).isEqualTo(GREATEST); assertThat(Double.isNaN(max(VALUES))).isTrue(); } @GwtIncompatible public void testMin_noArgs() { assertThrows(IllegalArgumentException.class, () -> min()); } public void testMin() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 30.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/QuantilesTest.java
8, NaN, 9, NaN, 10, NaN); } public void testScale_index_compute_doubleCollection_nan() { assertThat(Quantiles.scale(10).index(5).compute(ONE_TO_FIVE_AND_NAN)).isNaN(); } // 3. Tests on a mechanically generated dataset for chains starting with percentiles(): private static final int PSEUDORANDOM_DATASET_SIZE = 9951;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
8, NaN, 9, NaN, 10, NaN); } public void testScale_index_compute_doubleCollection_nan() { assertThat(Quantiles.scale(10).index(5).compute(ONE_TO_FIVE_AND_NAN)).isNaN(); } // 3. Tests on a mechanically generated dataset for chains starting with percentiles(): private static final int PSEUDORANDOM_DATASET_SIZE = 9951;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.8K bytes - Viewed (0)