Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 176 for Floor (0.04 sec)

  1. docs/en/docs/js/custom.js

        createTermynals();
        loadVisibleTermynals();
    }
    
    function shuffle(array) {
        var currentIndex = array.length, temporaryValue, randomIndex;
        while (0 !== currentIndex) {
            randomIndex = Math.floor(Math.random() * currentIndex);
            currentIndex -= 1;
            temporaryValue = array[currentIndex];
            array[currentIndex] = array[randomIndex];
            array[randomIndex] = temporaryValue;
        }
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 08 17:50:56 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go

    		return 0, fmt.Errorf("invalid value for IntOrString: %v", err)
    	}
    	if isPercent {
    		if roundUp {
    			value = int(math.Ceil(float64(value) * (float64(total)) / 100))
    		} else {
    			value = int(math.Floor(float64(value) * (float64(total)) / 100))
    		}
    	}
    	return value, nil
    }
    
    // GetValueFromIntOrPercent was deprecated in favor of
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. src/math/example_test.go

    	c := math.Sqrt(a*a + b*b)
    	fmt.Printf("%.1f", c)
    	// Output: 5.0
    }
    
    func ExampleCeil() {
    	c := math.Ceil(1.49)
    	fmt.Printf("%.1f", c)
    	// Output: 2.0
    }
    
    func ExampleFloor() {
    	c := math.Floor(1.51)
    	fmt.Printf("%.1f", c)
    	// Output: 1.0
    }
    
    func ExamplePow() {
    	c := math.Pow(2, 3)
    	fmt.Printf("%.1f", c)
    	// Output: 8.0
    }
    
    func ExamplePow10() {
    	c := math.Pow10(2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 07 18:09:53 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/SortedMultisets.java

        @Override
        @CheckForNull
        public E lower(@ParametricNullness E e) {
          return getElementOrNull(multiset().headMultiset(e, OPEN).lastEntry());
        }
    
        @Override
        @CheckForNull
        public E floor(@ParametricNullness E e) {
          return getElementOrNull(multiset().headMultiset(e, CLOSED).lastEntry());
        }
    
        @Override
        @CheckForNull
        public E ceiling(@ParametricNullness E e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/ExcludeJsonLogToCode.groovy

            "wealth",
            "cabbage",
            "playground",
            "wren",
            "flowers",
            "cobweb",
            "shame",
            "plate",
            "authority",
            "cave",
            "floor",
            "shelf",
            "snakes",
            "ants",
            "comparison",
            "quicksand",
            "eyes",
            "thumb",
            "church",
            "needle",
            "celery",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SortedMultisets.java

        @Override
        @CheckForNull
        public E lower(@ParametricNullness E e) {
          return getElementOrNull(multiset().headMultiset(e, OPEN).lastEntry());
        }
    
        @Override
        @CheckForNull
        public E floor(@ParametricNullness E e) {
          return getElementOrNull(multiset().headMultiset(e, CLOSED).lastEntry());
        }
    
        @Override
        @CheckForNull
        public E ceiling(@ParametricNullness E e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

      // CHECK:  %[[MASK:.*]] = "tf.Less"(%[[XDIVY]], %[[ZERO]])
      // CHECK:  %[[CEIL:.*]] = "tf.Ceil"(%[[XDIVY]])
      // CHECK:  %[[FLOOR:.*]] = "tf.Floor"(%[[XDIVY]])
      // CHECK:  %[[RESULT:.*]] = "tf.SelectV2"(%[[MASK]], %[[CEIL]], %[[FLOOR]])
      %0 = "tf.TruncateDiv"(%arg0, %arg1)
          : (tensor<*xf32>, tensor<*xf32>) -> tensor<*xf32>
    
      // CHECK: return %[[RESULT]]
      func.return %0 : tensor<*xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java

          return standardSubSet(fromElement, toElement);
        }
    
        @Override
        public @Nullable T lower(T e) {
          return standardLower(e);
        }
    
        @Override
        public @Nullable T floor(T e) {
          return standardFloor(e);
        }
    
        @Override
        public @Nullable T ceiling(T e) {
          return standardCeiling(e);
        }
    
        @Override
        public @Nullable T higher(T e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  9. src/strconv/ftoaryu.go

    		dl++
    	}
    	// We need to remember whether the trimmed digits of 'dc' are zero.
    	c0 := dc0 && fracc == 0
    	// render digits
    	ryuDigits(d, dl, dc, du, c0, cup)
    	d.dp -= q
    }
    
    // mulByLog2Log10 returns math.Floor(x * log(2)/log(10)) for an integer x in
    // the range -1600 <= x && x <= +1600.
    //
    // The range restriction lets us work in faster integer arithmetic instead of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 00:28:56 UTC 2022
    - 15.7K bytes
    - Viewed (0)
  10. src/math/big/arith.go

    		z1, z0 := mulAddWWW_g(x[i], y, z[i])
    		lo, cc := bits.Add(uint(z0), uint(c), 0)
    		c, z[i] = Word(cc), Word(lo)
    		c += z1
    	}
    	return
    }
    
    // q = ( x1 << _W + x0 - r)/y. m = floor(( _B^2 - 1 ) / d - _B). Requiring x1<y.
    // An approximate reciprocal with a reference to "Improved Division by Invariant Integers
    // (IEEE Transactions on Computers, 11 Jun. 2010)"
    func divWW(x1, x0, y, m Word) (q, r Word) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 28 20:09:27 UTC 2022
    - 8.3K bytes
    - Viewed (0)
Back to top