Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Remainder (0.2 sec)

  1. guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

          int positionFloor = (int) LongMath.divide(numerator, scale, RoundingMode.DOWN);
          int remainder = (int) (numerator - positionFloor * scale);
          if (remainder == 0) {
            return dataset[positionFloor];
          } else {
            double positionFrac = (double) remainder / scale;
            return dataset[positionFloor]
                + positionFrac * (dataset[positionFloor + 1] - dataset[positionFloor]);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

          int positionFloor = (int) LongMath.divide(numerator, scale, RoundingMode.DOWN);
          int remainder = (int) (numerator - positionFloor * scale);
          if (remainder == 0) {
            return dataset[positionFloor];
          } else {
            double positionFrac = (double) remainder / scale;
            return dataset[positionFloor]
                + positionFrac * (dataset[positionFloor + 1] - dataset[positionFloor]);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
Back to top