Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for isMathematicalInteger (0.27 seconds)

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

              return x;
            } else {
              return (long) x - 1;
            }
    
          case CEILING:
            if (x <= 0.0 || isMathematicalInteger(x)) {
              return x;
            } else {
              return (long) x + 1;
            }
    
          case DOWN:
            return x;
    
          case UP:
            if (isMathematicalInteger(x)) {
              return x;
            } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

        }
        return trueLog2;
      }
    
      @GwtIncompatible // DoubleMath.isMathematicalInteger
      public void testIsMathematicalIntegerIntegral() {
        for (double d : INTEGRAL_DOUBLE_CANDIDATES) {
          assertTrue(DoubleMath.isMathematicalInteger(d));
        }
      }
    
      @GwtIncompatible // DoubleMath.isMathematicalInteger
      public void testIsMathematicalIntegerFractional() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 03 16:20:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/math/DoubleMathTest.java

        }
        return trueLog2;
      }
    
      @GwtIncompatible // DoubleMath.isMathematicalInteger
      public void testIsMathematicalIntegerIntegral() {
        for (double d : INTEGRAL_DOUBLE_CANDIDATES) {
          assertTrue(DoubleMath.isMathematicalInteger(d));
        }
      }
    
      @GwtIncompatible // DoubleMath.isMathematicalInteger
      public void testIsMathematicalIntegerFractional() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 03 16:20:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
Back to Top