Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,041 for integers (0.65 sec)

  1. android/guava/src/com/google/common/math/BigIntegerMath.java

            BigInteger halfSquare = sqrtFloor.pow(2).add(sqrtFloor);
            /*
             * We wish to test whether or not x <= (sqrtFloor + 0.5)^2 = halfSquare + 0.25. Since both x
             * and halfSquare are integers, this is equivalent to testing whether or not x <=
             * halfSquare.
             */
            return (halfSquare.compareTo(x) >= 0) ? sqrtFloor : sqrtFloor.add(BigInteger.ONE);
          default:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/BigIntegerMath.java

            BigInteger halfSquare = sqrtFloor.pow(2).add(sqrtFloor);
            /*
             * We wish to test whether or not x <= (sqrtFloor + 0.5)^2 = halfSquare + 0.25. Since both x
             * and halfSquare are integers, this is equivalent to testing whether or not x <=
             * halfSquare.
             */
            return (halfSquare.compareTo(x) >= 0) ? sqrtFloor : sqrtFloor.add(BigInteger.ONE);
          default:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_ops_invalid.mlir

        func.return
      }
    
    }
    
    // -----
    
    module attributes {tf_saved_model.semantics} {
    
      // expected-error@+1 {{'tf_saved_model.index_path' elements should be strings or 64-bit integers}}
      func.func @f(
        %arg0: tensor<f32> {tf_saved_model.index_path = [1.0] }
      ) attributes { tf_saved_model.exported_names = ["f"] } {
        func.return
      }
    
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 19 13:38:14 UTC 2022
    - 14.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Combinators.kt

            }
        }
    
    
        internal
        val booleanLiteral =
            token(KtTokens.TRUE_KEYWORD) { true } + token(KtTokens.FALSE_KEYWORD) { false }
    
    
        /**
         * Can parse regular integers, unsigned integers, longs, unsigned longs, and HEX and BINARY representations as well.
         */
        internal
        val integerLiteral =
            token(KtTokens.INTEGER_LITERAL)
    
    
        internal
        val floatLiteral =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

          }
          try {
            parseInteger(spec, Integer.parseInt(value));
          } catch (NumberFormatException e) {
            throw new IllegalArgumentException(
                format("key %s value set to %s, must be integer", key, value), e);
          }
        }
      }
    
      /** Base class for parsing integers. */
      abstract static class LongParser implements ValueParser {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 22 14:27:44 UTC 2022
    - 18.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheBuilderSpec.java

          }
          try {
            parseInteger(spec, Integer.parseInt(value));
          } catch (NumberFormatException e) {
            throw new IllegalArgumentException(
                format("key %s value set to %s, must be integer", key, value), e);
          }
        }
      }
    
      /** Base class for parsing integers. */
      abstract static class LongParser implements ValueParser {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 22 14:27:44 UTC 2022
    - 18.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/math/LongMath.java

       * href="http://mathworld.wolfram.com/PrimeNumber.html">prime number</a>: an integer <i>greater
       * than one</i> that cannot be factored into a product of <i>smaller</i> positive integers.
       * Returns {@code false} if {@code n} is zero, one, or a composite number (one which <i>can</i> be
       * factored into smaller positive integers).
       *
       * <p>To test larger numbers, use {@link BigInteger#isProbablePrime}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/LongMath.java

       * href="http://mathworld.wolfram.com/PrimeNumber.html">prime number</a>: an integer <i>greater
       * than one</i> that cannot be factored into a product of <i>smaller</i> positive integers.
       * Returns {@code false} if {@code n} is zero, one, or a composite number (one which <i>can</i> be
       * factored into smaller positive integers).
       *
       * <p>To test larger numbers, use {@link BigInteger#isProbablePrime}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  9. src/text/template/doc.go

    The comparison functions work on any values whose type Go defines as
    comparable. For basic types such as integers, the rules are relaxed:
    size and exact type are ignored, so any integer value, signed or unsigned,
    may be compared with any other integer value. (The arithmetic value is compared,
    not the bit pattern, so all negative integers are less than all unsigned integers.)
    However, as usual, one may not compare an int with a float32 and so on.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. src/internal/types/testdata/check/issues0.go

    	make(chan I1) <- i0 /* ERROR "missing method foo" */
    	make(chan I1) <- i2 /* ERROR "wrong type for method foo" */
    }
    
    // Check that constants representable as integers are in integer form
    // before being used in operations that are only defined on integers.
    func issue14229() {
    	// from the issue
    	const _ = int64(-1<<63) % 1e6
    
    	// related
    	const (
    		a int = 3
    		b = 4.0
    		_ = a / b
    		_ = a % b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top