code: public static double randomDouble(double startInclusive, double endExclusive) {
      checkArgument(startInclusive <= endExclusive, "End must be greater than or equal to start");
      if (startInclusive == endExclusive) {
        return startInclusive;
      }
      return RANDOM.doubles(1, startInclusive, endExclusive).sum();
    }
docs: Returns a random double within the specified range.
  
  @param startInclusive the earliest double that can be returned
  @param endExclusive the upper bound (not included)
  @return the random double
  @throws IllegalArgumentException if endExclusive is less than startInclusive