Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for binomial (0.14 sec)

  1. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            assertEquals(expected, BigIntegerMath.binomial(n, k));
          }
        }
      }
    
      public void testBinomialOutside() {
        for (int n = 0; n <= 50; n++) {
          try {
            BigIntegerMath.binomial(n, -1);
            fail("Expected IllegalArgumentException");
          } catch (IllegalArgumentException expected) {
          }
          try {
            BigIntegerMath.binomial(n, n + 1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:58:33 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. src/runtime/metrics_test.go

    			// With 100 trials and profile fraction of 2, we expect to capture
    			// 50 samples. Allow the test to pass if we get at least 20 samples;
    			// the CDF of the binomial distribution says there's less than a
    			// 1e-9 chance of that, which is an acceptably low flakiness rate.
    			const samplingSlop = 2.5
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top