Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 84 for unrepresentable (0.2 sec)

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

      }
    
      /**
       * Returns {@code x}, rounded to a {@code double} with the specified rounding mode. If {@code x}
       * is precisely representable as a {@code double}, its {@code double} value will be returned;
       * otherwise, the rounding will choose between the two nearest representable values with {@code
       * mode}.
       *
       * <p>For the case of {@link RoundingMode#HALF_DOWN}, {@code HALF_UP}, and {@code HALF_EVEN},
    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. test/const2.go

    const AlsoLargeA = LargeA << 400 << 400 >> 400 >> 400 // GC_ERROR "constant shift overflow"
    
    // Issue #42732.
    
    const a = 1e+500000000
    const b = a * a // ERROR "constant multiplication overflow|not representable"
    const c = b * b
    
    const MaxInt512 = (1<<256 - 1) * (1<<256 + 1)
    const _ = MaxInt512 + 1  // ERROR "constant addition overflow"
    const _ = MaxInt512 ^ -1 // ERROR "constant bitwise XOR overflow"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 01 21:49:31 UTC 2020
    - 1008 bytes
    - Viewed (0)
  3. tensorflow/cc/experimental/libtf/impl/iostream_test.cc

    namespace impl {
    
    TEST(OStreamTest, TestInt64) {
      Int64 x(42);
      std::stringstream stream;
      stream << x;
      ASSERT_EQ(stream.str(), "42");
    }
    
    TEST(OStreamTest, TestFloat32) {
      Float32 x(0.375);  // Exactly representable as a float.
      std::stringstream stream;
      stream << x;
      ASSERT_EQ(stream.str(), "0.375");
    }
    
    TEST(OStreamTest, TestString) {
      String s("foo");
      std::stringstream stream;
      stream << s;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 09:47:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/ToDoubleRounder.java

    import static com.google.common.math.MathPreconditions.checkRoundingUnnecessary;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.math.RoundingMode;
    
    /**
     * Helper type to implement rounding {@code X} to a representable {@code double} value according to
     * a {@link RoundingMode}.
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class ToDoubleRounder<X extends Number & Comparable<X>> {
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/BigIntegerMath.java

      }
    
      /**
       * Returns {@code x}, rounded to a {@code double} with the specified rounding mode. If {@code x}
       * is precisely representable as a {@code double}, its {@code double} value will be returned;
       * otherwise, the rounding will choose between the two nearest representable values with {@code
       * mode}.
       *
       * <p>For the case of {@link RoundingMode#HALF_DOWN}, {@code HALF_UP}, and {@code HALF_EVEN},
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/OverflowAvoidingLockSupport.java

     * signal on 32 bit devices running Android Q.
     */
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    final class OverflowAvoidingLockSupport {
      // Represents the max nanoseconds representable on a linux timespec with a 32 bit tv_sec
      static final long MAX_NANOSECONDS_THRESHOLD = (1L + Integer.MAX_VALUE) * 1_000_000_000L - 1L;
    
      private OverflowAvoidingLockSupport() {}
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/OverflowAvoidingLockSupport.java

     * signal on 32 bit devices running Android Q.
     */
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    final class OverflowAvoidingLockSupport {
      // Represents the max nanoseconds representable on a linux timespec with a 32 bit tv_sec
      static final long MAX_NANOSECONDS_THRESHOLD = (1L + Integer.MAX_VALUE) * 1_000_000_000L - 1L;
    
      private OverflowAvoidingLockSupport() {}
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/LongMath.java

       * is precisely representable as a {@code double}, its {@code double} value will be returned;
       * otherwise, the rounding will choose between the two nearest representable values with {@code
       * mode}.
       *
       * <p>For the case of {@link RoundingMode#HALF_EVEN}, this implementation uses the IEEE 754
       * default rounding mode: if the two nearest representable values are equally near, the one with
    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. test/fixedbugs/bug120.go

    	Test{1e23 + 8388609, "1e23+8388609", "1.0000000000000001e+23"},
    
    	// "x" = the floating point value from converting the string x.
    	// These are exactly representable in 64-bit floating point:
    	//	1e23-8388608
    	//	1e23+8388608
    	// The former has an even mantissa, so "1e23" rounds to 1e23-8388608.
    	// If "1e23+8388608" is implemented as "1e23" + "8388608",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 1.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.h

    #define TENSORFLOW_COMPILER_JIT_INCREASE_DYNAMISM_FOR_AUTO_JIT_PASS_H_
    
    #include "tensorflow/core/common_runtime/optimization_registry.h"
    
    namespace tensorflow {
    
    // Increases the amount of "dynamism" representable by XLA clusters by rewriting
    // the TensorFlow graph.  This pass does the following rewrites:
    //
    // Slice
    // -----
    //
    //   Slice(op, begin, size <must be constant>) =>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 26 21:01:34 UTC 2018
    - 2.2K bytes
    - Viewed (0)
Back to top