Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for exponents (0.19 sec)

  1. guava-tests/benchmark/com/google/common/math/LongMathBenchmark.java

    import com.google.caliper.Benchmark;
    
    /**
     * Benchmarks for the non-rounding methods of {@code LongMath}.
     *
     * @author Louis Wasserman
     */
    public class LongMathBenchmark {
      private static final int[] exponents = new int[ARRAY_SIZE];
      private static final int[] factorialArguments = new int[ARRAY_SIZE];
      private static final int[][] binomialArguments = new int[ARRAY_SIZE][2];
      private static final long[] positive = new long[ARRAY_SIZE];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/MathTesting.java

      static final ImmutableList<RoundingMode> ALL_SAFE_ROUNDING_MODES =
          ImmutableList.of(DOWN, UP, FLOOR, CEILING, HALF_EVEN, HALF_UP, HALF_DOWN);
    
      // Exponents to test for the pow() function.
      static final ImmutableList<Integer> EXPONENTS =
          ImmutableList.of(0, 1, 2, 3, 4, 7, 10, 15, 20, 25, 40, 70);
    
      /* Helper function to make a Long value from an Integer. */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/math/LongMathBenchmark.java

    import com.google.caliper.Benchmark;
    
    /**
     * Benchmarks for the non-rounding methods of {@code LongMath}.
     *
     * @author Louis Wasserman
     */
    public class LongMathBenchmark {
      private static final int[] exponents = new int[ARRAY_SIZE];
      private static final int[] factorialArguments = new int[ARRAY_SIZE];
      private static final int[][] binomialArguments = new int[ARRAY_SIZE][2];
      private static final long[] positive = new long[ARRAY_SIZE];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/LongMathTest.java

    import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.ALL_SAFE_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.EXPONENTS;
    import static com.google.common.math.MathTesting.NEGATIVE_INTEGER_CANDIDATES;
    import static com.google.common.math.MathTesting.NEGATIVE_LONG_CANDIDATES;
    import static com.google.common.math.MathTesting.NONZERO_LONG_CANDIDATES;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/LongMathTest.java

    import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.ALL_SAFE_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.EXPONENTS;
    import static com.google.common.math.MathTesting.NEGATIVE_INTEGER_CANDIDATES;
    import static com.google.common.math.MathTesting.NEGATIVE_LONG_CANDIDATES;
    import static com.google.common.math.MathTesting.NONZERO_LONG_CANDIDATES;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/IntMathTest.java

    import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.ALL_SAFE_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.EXPONENTS;
    import static com.google.common.math.MathTesting.NEGATIVE_INTEGER_CANDIDATES;
    import static com.google.common.math.MathTesting.NONZERO_INTEGER_CANDIDATES;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/MathTesting.java

      static final ImmutableList<RoundingMode> ALL_SAFE_ROUNDING_MODES =
          ImmutableList.of(DOWN, UP, FLOOR, CEILING, HALF_EVEN, HALF_UP, HALF_DOWN);
    
      // Exponents to test for the pow() function.
      static final ImmutableList<Integer> EXPONENTS =
          ImmutableList.of(0, 1, 2, 3, 4, 7, 10, 15, 20, 25, 40, 70);
    
      /* Helper function to make a Long value from an Integer. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/IntMathTest.java

    import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.ALL_SAFE_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.EXPONENTS;
    import static com.google.common.math.MathTesting.NEGATIVE_INTEGER_CANDIDATES;
    import static com.google.common.math.MathTesting.NONZERO_INTEGER_CANDIDATES;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  9. internal/s3select/json/record.go

    	// Convert as if by ES6 number to string conversion.
    	// This matches most other JSON generators.
    	// See golang.org/issue/6384 and golang.org/issue/14135.
    	// Like fmt %g, but the exponent cutoffs are different
    	// and exponents themselves are not padded to two digits.
    	abs := math.Abs(f)
    	fmt := byte('f')
    	if abs != 0 {
    		if abs < 1e-6 || abs >= 1e21 {
    			fmt = 'e'
    		}
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  10. common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto

    //
    // Before serializing, Quantity will be put in "canonical form".
    // This means that Exponent/suffix will be adjusted up or down (with a
    // corresponding increase or decrease in Mantissa) such that:
    //
    // - No precision is lost
    // - No fractional digits will be emitted
    // - The exponent (or suffix) is as large as possible.
    //
    // The sign will be omitted unless the number is negative.
    //
    // Examples:
    //
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top