Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for IsNaN (0.48 sec)

  1. 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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. 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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  3. lib/wasm/wasm_exec.js

    				if (f === 0) {
    					return undefined;
    				}
    				if (!isNaN(f)) {
    					return f;
    				}
    
    				const id = this.mem.getUint32(addr, true);
    				return this._values[id];
    			}
    
    			const storeValue = (addr, v) => {
    				const nanHead = 0x7FF80000;
    
    				if (typeof v === "number" && v !== 0) {
    					if (isNaN(v)) {
    						this.mem.setUint32(addr + 4, nanHead, true);
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sun Dec 08 15:34:47 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. 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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            // Test with special numeric values
            OptionalEntity<Double> nanOpt = OptionalUtil.ofNullable(Double.NaN);
            assertTrue(nanOpt.isPresent());
            assertTrue(Double.isNaN(nanOpt.get()));
    
            OptionalEntity<Double> infinityOpt = OptionalUtil.ofNullable(Double.POSITIVE_INFINITY);
            assertTrue(infinityOpt.isPresent());
            assertTrue(Double.isInfinite(infinityOpt.get()));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(max(-0f, 0f)).isEqualTo(0f);
        assertThat(max(0f, -0f)).isEqualTo(0f);
        assertThat(max(NUMBERS)).isEqualTo(GREATEST);
        assertThat(Float.isNaN(max(VALUES))).isTrue();
      }
    
      @GwtIncompatible
      public void testMin_noArgs() {
        assertThrows(IllegalArgumentException.class, () -> min());
      }
    
      public void testMin() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(max(-0f, 0f)).isEqualTo(0f);
        assertThat(max(0f, -0f)).isEqualTo(0f);
        assertThat(max(NUMBERS)).isEqualTo(GREATEST);
        assertThat(Float.isNaN(max(VALUES))).isTrue();
      }
    
      @GwtIncompatible
      public void testMin_noArgs() {
        assertThrows(IllegalArgumentException.class, () -> min());
      }
    
      public void testMin() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  10. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top