Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for BigDecimal (0.05 sec)

  1. src/test/java/org/codelibs/fess/query/QueryTestBase.java

                }
    
                @Override
                public BigDecimal getQueryBoostTitleAsDecimal() {
                    return new BigDecimal("0.5");
                }
    
                @Override
                public String getQueryBoostContent() {
                    return "0.05";
                }
    
                @Override
                public BigDecimal getQueryBoostContentAsDecimal() {
                    return new BigDecimal("0.05");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java

                }
    
                @Override
                public BigDecimal getQueryBoostTitleLangAsDecimal() {
                    return new BigDecimal("1.0");
                }
    
                @Override
                public BigDecimal getQueryBoostContentLangAsDecimal() {
                    return new BigDecimal("0.5");
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

      public void testRoundToDouble_maxDouble() {
        BigDecimal maxDoubleAsBigDecimal = new BigDecimal(Double.MAX_VALUE);
        new RoundToDoubleTester(maxDoubleAsBigDecimal)
            .setExpectation(Double.MAX_VALUE, values())
            .test();
      }
    
      public void testRoundToDouble_maxDoublePlusOne() {
        BigDecimal maxDoubleAsBigDecimal = new BigDecimal(Double.MAX_VALUE).add(BigDecimal.ONE);
        new RoundToDoubleTester(maxDoubleAsBigDecimal)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

      private static final BigDecimal MAX_INT_AS_BIG_DECIMAL = BigDecimal.valueOf(Integer.MAX_VALUE);
      private static final BigDecimal MIN_INT_AS_BIG_DECIMAL = BigDecimal.valueOf(Integer.MIN_VALUE);
    
      private static final BigDecimal MAX_LONG_AS_BIG_DECIMAL = BigDecimal.valueOf(Long.MAX_VALUE);
      private static final BigDecimal MIN_LONG_AS_BIG_DECIMAL = BigDecimal.valueOf(Long.MIN_VALUE);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

                @Override
                public BigDecimal getQueryBoostTitleAsDecimal() {
                    return baseConfig.getQueryBoostTitleAsDecimal();
                }
    
                @Override
                public BigDecimal getQueryBoostContentAsDecimal() {
                    return baseConfig.getQueryBoostContentAsDecimal();
                }
    
                @Override
                public BigDecimal getQueryBoostFuzzyTitleAsDecimal() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

                return Integer.valueOf(3);
            }
    
            /**
             * @return BigDecimal
             */
            public BigDecimal getGgg() {
                return ggg_;
            }
    
            /**
             * @param ggg
             */
            public void setGgg(final BigDecimal ggg) {
                ggg_ = ggg;
            }
    
            /**
             * @return Timestamp
             */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            assertTrue(result.isPresent());
            assertEquals(testValue, result.get());
        }
    
        public void test_ofNullable_withBigDecimal() {
            BigDecimal testValue = new BigDecimal("123.456");
            OptionalEntity<BigDecimal> result = OptionalUtil.ofNullable(testValue);
    
            assertNotNull(result);
            assertTrue(result.isPresent());
            assertEquals(testValue, result.get());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/LongMathTest.java

       */
      private static long computeMeanSafely(long x, long y) {
        BigInteger bigX = BigInteger.valueOf(x);
        BigInteger bigY = BigInteger.valueOf(y);
        BigDecimal two = BigDecimal.valueOf(2); // Android doesn't have BigDecimal.TWO yet
        BigDecimal bigMean = new BigDecimal(bigX.add(bigY)).divide(two, RoundingMode.FLOOR);
        return bigMean.longValueExact();
      }
    
      private static boolean fitsInLong(BigInteger big) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/IntMathTest.java

       */
      private static int computeMeanSafely(int x, int y) {
        BigInteger bigX = BigInteger.valueOf(x);
        BigInteger bigY = BigInteger.valueOf(y);
        BigDecimal two = BigDecimal.valueOf(2); // Android doesn't have BigDecimal.TWO yet
        BigDecimal bigMean = new BigDecimal(bigX.add(bigY)).divide(two, RoundingMode.FLOOR);
        return bigMean.intValueExact();
      }
    
      private static boolean fitsInInt(BigInteger big) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/BigIntegerMath.java

       *     is not an integer multiple of {@code b}
       */
      @GwtIncompatible // TODO
      public static BigInteger divide(BigInteger p, BigInteger q, RoundingMode mode) {
        BigDecimal pDec = new BigDecimal(p);
        BigDecimal qDec = new BigDecimal(q);
        return pDec.divide(qDec, 0, mode).toBigIntegerExact();
      }
    
      /**
       * Returns {@code n!}, that is, the product of the first {@code n} positive integers, or {@code 1}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top