Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 67 for log1p (0.2 sec)

  1. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildTaskDependencyIntegrationTest.groovy

            dependsOn gradle.includedBuild('buildB').task(':logP')
        }
        task subDelegate {
            dependsOn gradle.includedBuild('buildB').task(':b1:logP')
        }
    """
    
            when:
            fails(buildA, ":delegate")
    
            then:
            failure.assertHasDescription("Could not determine the dependencies of task ':delegate'.")
            failure.assertHasCause("Task with path ':logP' not found in project ':buildB'.")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/IntMath.java

         * can narrow the possible floor(log10(x)) values to two. For example, if floor(log2(x)) is 6,
         * then 64 <= x < 128, so floor(log10(x)) is either 1 or 2.
         */
        int y = maxLog10ForLeadingZeros[Integer.numberOfLeadingZeros(x)];
        /*
         * y is the higher of the two possible values of floor(log10(x)). If x < 10^y, then we want the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  3. src/math/cmplx/cmath_test.go

    		}
    	}
    }
    func TestLog10(t *testing.T) {
    	for i := 0; i < len(vc); i++ {
    		if f := Log10(vc[i]); !cVeryclose(log10[i], f) {
    			t.Errorf("Log10(%g) = %g, want %g", vc[i], f, log10[i])
    		}
    	}
    	for _, v := range log10SC {
    		if f := Log10(v.in); !cAlike(v.want, f) {
    			t.Errorf("Log10(%g) = %g, want %g", v.in, f, v.want)
    		}
    		if math.IsNaN(imag(v.in)) || math.IsNaN(imag(v.want)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 48.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/BigIntegerMath.java

       *     is not a power of ten
       */
      @GwtIncompatible // TODO
      @SuppressWarnings("fallthrough")
      public static int log10(BigInteger x, RoundingMode mode) {
        checkPositive("x", x);
        if (fitsInLong(x)) {
          return LongMath.log10(x.longValue(), mode);
        }
    
        int approxLog10 = (int) (log2(x, FLOOR) * LN_2 / LN_10);
        BigInteger approxPow = BigInteger.TEN.pow(approxLog10);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/BigIntegerMath.java

       *     is not a power of ten
       */
      @GwtIncompatible // TODO
      @SuppressWarnings("fallthrough")
      public static int log10(BigInteger x, RoundingMode mode) {
        checkPositive("x", x);
        if (fitsInLong(x)) {
          return LongMath.log10(x.longValue(), mode);
        }
    
        int approxLog10 = (int) (log2(x, FLOOR) * LN_2 / LN_10);
        BigInteger approxPow = BigInteger.TEN.pow(approxLog10);
    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/math/IntMath.java

         * can narrow the possible floor(log10(x)) values to two. For example, if floor(log2(x)) is 6,
         * then 64 <= x < 128, so floor(log10(x)) is either 1 or 2.
         */
        int y = maxLog10ForLeadingZeros[Integer.numberOfLeadingZeros(x)];
        /*
         * y is the higher of the two possible values of floor(log10(x)). If x < 10^y, then we want the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                    .missing(0.1f).modifier(FieldValueFactorFunction.Modifier.LOG2P).setWeight(1.0F)));
            flist.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(ScoreFunctionBuilders.fieldValueFactorFunction(FieldNames.QUERY_FREQ)
                    .missing(0.1f).modifier(FieldValueFactorFunction.Modifier.LOG2P).setWeight(1.0F)));
            flist.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. src/math/example_test.go

    	fmt.Printf("%.1f\n", y)
    	// Output:
    	// 0.0
    	// 1.0
    }
    
    func ExampleLog2() {
    	fmt.Printf("%.1f", math.Log2(256))
    	// Output: 8.0
    }
    
    func ExampleLog10() {
    	fmt.Printf("%.1f", math.Log10(100))
    	// Output: 2.0
    }
    
    func ExampleRemainder() {
    	fmt.Printf("%.1f", math.Remainder(100, 30))
    	// Output: 10.0
    }
    
    func ExampleMod() {
    	c := math.Mod(7, 4)
    	fmt.Printf("%.1f", c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 07 18:09:53 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  9. test/rangegen.go

    		p(b, "	if l%ssel++; l%ssel >= 2 { o.log(`loop L%ssel`); return -1 }\n", s, s, s)
    		p(b, "	l%s := 0\n", s)
    		p(b, "goto L%s; L%s:	for %s i%s := range %s {\n", s, s, prefix, s, rangeExpr)
    		p(b, "	o.log1(`L%s top`, i%s)\n", s, s)
    		p(b, "	if l%s++; l%s >= 4 { o.log(`loop L%s`); return -1 }\n", s, s, s)
    		printTests := func() {
    			if code++; allowed(code) {
    				p(b, "	if code == %v { break }\n", code)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 23:35:19 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/LongMath.java

         * can narrow the possible floor(log10(x)) values to two. For example, if floor(log2(x)) is 6,
         * then 64 <= x < 128, so floor(log10(x)) is either 1 or 2.
         */
        int y = maxLog10ForLeadingZeros[Long.numberOfLeadingZeros(x)];
        /*
         * y is the higher of the two possible values of floor(log10(x)). If x < 10^y, then we want the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
Back to top