Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 585 for rounding (0.46 sec)

  1. src/cmd/asm/internal/asm/testdata/amd64error.s

    	// Usage of rounding with invalid operands.
    	VADDPD.RU_SAE X3, X2, K1, X1     // ERROR "unsupported rounding"
    	VADDPD.RD_SAE X3, X2, K1, X1     // ERROR "unsupported rounding"
    	VADDPD.RZ_SAE X3, X2, K1, X1     // ERROR "unsupported rounding"
    	VADDPD.RN_SAE X3, X2, K1, X1     // ERROR "unsupported rounding"
    	VADDPD.RU_SAE Y3, Y2, K1, Y1     // ERROR "unsupported rounding"
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/line_test.go

    		{"VADDPD.Z.Z X0, X1, X2", `Z suffix should be the last; duplicate suffix "Z"`},
    		{"VADDPD.SAE.BCST X0, X1, X2", `can't combine rounding/SAE and broadcast`},
    		{"VADDPD.BCST.SAE X0, X1, X2", `can't combine rounding/SAE and broadcast`},
    		{"VADDPD.BCST.Z.SAE X0, X1, X2", `Z suffix should be the last; can't combine rounding/SAE and broadcast`},
    		{"VADDPD.SAE.SAE X0, X1, X2", `duplicate suffix "SAE"`},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/BigDecimalMath.java

    @GwtIncompatible
    public class BigDecimalMath {
      private BigDecimalMath() {}
    
      /**
       * 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}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. 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}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/BigDecimalMath.java

    @GwtIncompatible
    public class BigDecimalMath {
      private BigDecimalMath() {}
    
      /**
       * 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}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/UnsignedLong.java

        // So we can ignore the bottom 11, except for rounding. We can unsigned-shift right 1, aka
        // unsigned-divide by 2, and convert that. Then we'll get exactly half of the desired double
        // value. But in the specific case where the bottom two bits of the original number are 01, we
        // want to replace that with 1 in the shifted value for correct rounding.
        return (double) ((value >>> 1) | (value & 1)) * 2.0;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/MathPreconditions.java

        if (!condition) {
          throw new ArithmeticException("mode was UNNECESSARY, but rounding was necessary");
        }
      }
    
      static void checkInRangeForRoundingInputs(boolean condition, double input, RoundingMode mode) {
        if (!condition) {
          throw new ArithmeticException(
              "rounded value is out of range for input " + input + " and rounding mode " + mode);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.math.BigInteger;
    import java.math.RoundingMode;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for the rounding methods of {@code BigIntegerMath}.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class BigIntegerMathRoundingBenchmark {
      private static final BigInteger[] nonzero1 = new BigInteger[ARRAY_SIZE];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.math.RoundingMode;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for the rounding methods of {@code DoubleMath}.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class DoubleMathRoundingBenchmark {
      private static final double[] doubleInIntRange = new double[ARRAY_SIZE];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.math.RoundingMode;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for the rounding methods of {@code DoubleMath}.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class DoubleMathRoundingBenchmark {
      private static final double[] doubleInIntRange = new double[ARRAY_SIZE];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top