code: public static double randomDoubleLessThan(double maxExclusive) {
      checkArgument(
          maxExclusive > -Double.MAX_VALUE, "Cannot produce double less than %s", -Double.MAX_VALUE);
      return randomDouble(-Double.MAX_VALUE, maxExclusive);
    }
docs: Returns a random double that is less than the given double.
  
  @param maxExclusive the value that returned double must be less than
  @return the random double
  @throws IllegalArgumentException if maxExclusive is less than or equal to negative {@link
  Double#MAX_VALUE}