Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 44 for roundUp (0.45 seconds)

  1. android/guava/src/com/google/common/math/ToDoubleRounder.java

      /**
       * Returns x rounded to either the greatest double less than or equal to the precise value of x,
       * or the least double greater than or equal to the precise value of x.
       */
      abstract double roundToDoubleArbitrarily(X x);
    
      /** Returns the sign of x: either -1, 0, or 1. */
      abstract int sign(X x);
    
      /** Returns d's value as an X, rounded with the specified mode. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:51:56 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/math/MathTesting.java

          int x = 1 << exponent;
          intValues.add(x, x + 1, x - 1);
        }
        intValues.add(9999).add(10000).add(10001).add(1000000); // near powers of 10
        intValues.add(5792).add(5793); // sqrt(2^25) rounded up and down
        POSITIVE_INTEGER_CANDIDATES = intValues.build();
        NEGATIVE_INTEGER_CANDIDATES =
            ImmutableList.copyOf(
                Iterables.concat(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/math/IntMath.java

        // to make sure bit twiddling works as expected.
        return ~~(x - y) >>> (Integer.SIZE - 1);
      }
    
      /**
       * Returns the base-2 logarithm of {@code x}, rounded according to the specified rounding mode.
       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

          int result = BigIntegerMath.log2(x, HALF_UP);
          BigInteger x2 = x.pow(2);
          // x^2 < 2^(2 * result + 1), or else we would have rounded up
          assertThat(ZERO.setBit(2 * result + 1)).isGreaterThan(x2);
          // x^2 >= 2^(2 * result - 1), or else we would have rounded down
          assertTrue(result == 0 || ZERO.setBit(2 * result - 1).compareTo(x2) <= 0);
        }
      }
    
      public void testLog2HalfDown() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:51:56 GMT 2026
    - 27.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/math/LongMath.java

        // to make sure bit twiddling works as expected.
        return (int) (~~(x - y) >>> (Long.SIZE - 1));
      }
    
      /**
       * Returns the base-2 logarithm of {@code x}, rounded according to the specified rounding mode.
       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 09 23:01:02 GMT 2026
    - 46.8K bytes
    - Click Count (0)
  6. src/main/webapp/WEB-INF/view/searchResults.jsp

    									href="/search?q=${f:u(q)}&ex_q=label%3a${f:u(countEntry.key)}&sdh=${f:u(fe:sdh(sdh))}${fe:pagingQuery(null)}${fe:facetQuery()}${fe:geoQuery()}">
    										${f:h(fe:label(countEntry.key))}
    										<span class="badge rounded-pill text-bg-secondary float-end">${f:h(countEntry.value)}</span>
    								</la:link></li>
    						</c:if>
    					</c:forEach>
    				</ul>
    			</c:if>
    		</c:forEach>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/math/Quantiles.java

          // Since scale is a positive int, index is in [0, scale], and (dataset.length - 1) is a
          // non-negative int, we can do long-arithmetic on index * (dataset.length - 1) / scale to get
          // a rounded ratio and a remainder which can be expressed as ints, without risk of overflow:
          int quotient = (int) LongMath.divide(numerator, scale, RoundingMode.DOWN);
          int remainder = (int) (numerator - (long) quotient * scale);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  8. src/main/webapp/WEB-INF/orig/view/searchResults.jsp

    									href="/search?q=${f:u(q)}&ex_q=label%3a${f:u(countEntry.key)}&sdh=${f:u(fe:sdh(sdh))}${fe:pagingQuery(null)}${fe:facetQuery()}${fe:geoQuery()}">
    										${f:h(fe:label(countEntry.key))}
    										<span class="badge rounded-pill text-bg-secondary float-end">${f:h(countEntry.value)}</span>
    								</la:link></li>
    						</c:if>
    					</c:forEach>
    				</ul>
    			</c:if>
    		</c:forEach>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 12.2K bytes
    - Click Count (1)
  9. docs/en/docs/css/custom.css

      -webkit-mask-size: contain;
      -webkit-mask-repeat: no-repeat;
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:56:46 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  10. src/main/webapp/WEB-INF/orig/view/chat/chat.jsp

    								<i class="fa fa-filter" aria-hidden="true"></i>
    								<la:message key="labels.chat_filter" />
    								<span id="filterBadge" class="badge rounded-pill bg-primary d-none">0</span>
    							</button>
    							<button type="button" id="newChatBtn" class="btn btn-outline-secondary btn-sm" aria-label="<la:message key="labels.chat_new_chat" />">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:21:57 GMT 2026
    - 10.4K bytes
    - Click Count (0)
Back to Top