Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 73 for isChan (3.51 sec)

  1. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        }
      }
    
      public void testIsFinite() {
        for (float value : NUMBERS) {
          assertThat(Floats.isFinite(value))
              .isEqualTo(!(Float.isInfinite(value) || Float.isNaN(value)));
        }
      }
    
      public void testCompare() {
        for (float x : VALUES) {
          for (float y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/DoublesTest.java

        }
      }
    
      public void testIsFinite() {
        for (double value : NUMBERS) {
          assertThat(Doubles.isFinite(value))
              .isEqualTo(!(Double.isNaN(value) || Double.isInfinite(value)));
        }
      }
    
      public void testCompare() {
        for (double x : VALUES) {
          for (double y : VALUES) {
            // note: spec requires only that the sign is the same
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/FloatsTest.java

        }
      }
    
      public void testIsFinite() {
        for (float value : NUMBERS) {
          assertThat(Floats.isFinite(value))
              .isEqualTo(!(Float.isInfinite(value) || Float.isNaN(value)));
        }
      }
    
      public void testCompare() {
        for (float x : VALUES) {
          for (float y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/Stats.java

    import static com.google.common.primitives.Doubles.isFinite;
    import static java.lang.Double.NaN;
    import static java.lang.Double.doubleToLongBits;
    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 com.google.common.base.Objects;
    import java.io.Serializable;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 22K bytes
    - Viewed (0)
  5. src/math/j0.go

    		S02 = 1.16926784663337450260e-04  // 0x3F1EA6D2DD57DBF4
    		S03 = 5.13546550207318111446e-07  // 0x3EA13B54CE84D5A9
    		S04 = 1.16614003333790000205e-09  // 0x3E1408BCF4745D8F
    	)
    	// special cases
    	switch {
    	case IsNaN(x):
    		return x
    	case IsInf(x, 0):
    		return 0
    	case x == 0:
    		return 1
    	}
    
    	x = Abs(x)
    	if x >= 2 {
    		s, c := Sincos(x)
    		ss := s - c
    		cc := s + c
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 13.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/appendixa_test.go

    		// choose a single representation for all NaN values. For the purposes of this test,
    		// all NaN representations are equivalent.
    		func(a float64, b float64) bool {
    			if math.IsNaN(a) && math.IsNaN(b) {
    				return true
    			}
    			return math.Float64bits(a) == math.Float64bits(b)
    		},
    	)
    
    	const (
    		reasonArrayFixedLength  = "indefinite-length arrays are re-encoded with fixed length"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 15 18:59:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        }
      }
    
      public void testIsFinite() {
        for (double value : NUMBERS) {
          assertThat(Doubles.isFinite(value))
              .isEqualTo(!(Double.isNaN(value) || Double.isInfinite(value)));
        }
      }
    
      public void testCompare() {
        for (double x : VALUES) {
          for (double y : VALUES) {
            // note: spec requires only that the sign is the same
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  8. misc/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: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 17:47:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  9. 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,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 09 22:49:56 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/Stats.java

    import static com.google.common.primitives.Doubles.isFinite;
    import static java.lang.Double.NaN;
    import static java.lang.Double.doubleToLongBits;
    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 com.google.common.base.Objects;
    import java.io.Serializable;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top