- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 27 for isnan (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/math/StatsAccumulator.java
import static com.google.common.math.DoubleUtils.ensureNonNegative; import static java.lang.Double.NaN; import static java.lang.Double.isFinite; import static java.lang.Double.isNaN; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.util.Iterator; import java.util.stream.DoubleStream; import java.util.stream.IntStream;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Apr 14 16:36:11 GMT 2025 - 15.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/FileSizeFormat.java
format(builder, size, unit, false); } public void formatRate(MessageBuilder builder, double rate) { // Handle invalid rates gracefully (including negative values) if (Double.isNaN(rate) || Double.isInfinite(rate) || rate < 0) { builder.append("? B/s"); return; } ScaleUnit unit = ScaleUnit.getScaleUnit(Math.round(rate));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Apr 16 10:09:21 GMT 2025 - 7K bytes - Click Count (0) -
android/guava/src/com/google/common/math/LinearTransformation.java
* the transformation is vertical. (If it is zero, the transformation is horizontal.) */ public LinearTransformation withSlope(double slope) { checkArgument(!Double.isNaN(slope)); if (isFinite(slope)) { double yIntercept = y1 - x1 * slope; return new RegularLinearTransformation(slope, yIntercept); } else { return new VerticalLinearTransformation(x1);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 9.7K bytes - Click Count (0) -
guava/src/com/google/common/math/Stats.java
import static java.lang.Double.NaN; import static java.lang.Double.doubleToLongBits; import static java.lang.Double.isFinite; import static java.lang.Double.isNaN; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.MoreObjects; import java.io.Serializable; import java.nio.ByteBuffer;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 24.8K bytes - Click Count (0) -
lib/wasm/wasm_exec.js
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Sun Dec 08 15:34:47 GMT 2024 - 16.6K bytes - Click Count (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() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 30.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
assertThat(transformation.isHorizontal()).isFalse(); assertThat(transformation.isVertical()).isFalse(); assertThat(transformation.slope()).isNaN(); assertThat(transformation.transform(0.0)).isNaN(); assertThat(transformation.inverse()).isSameInstanceAs(transformation); } /** * Creates a {@link PairedStats} from with the given lists of {@code x} and {@code y} values,
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 23.8K bytes - Click Count (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;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 29.8K bytes - Click Count (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;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 29.8K bytes - Click Count (0) -
guava/src/com/google/common/primitives/Floats.java
return Float.compare(a, b); } /** * Returns {@code true} if {@code value} represents a real number. This is equivalent to, but not * necessarily implemented as, {@code !(Float.isInfinite(value) || Float.isNaN(value))}. * * <p>Prefer {@link Float#isFinite(float)} instead. * * @since 10.0 */ @InlineMe(replacement = "Float.isFinite(value)") public static boolean isFinite(float value) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 25.6K bytes - Click Count (0)