code: public boolean includes(double value)
      {
          return Double.compare(value, min) >= 0 && Double.compare(value, max) <= 0;
      }
docs: Check if value is inside range, min and max included.
  
  @param value The value to check.
  @return <code>true</code> if value is inside range, <code>false</code> else.