Returns true if this range contains the given value.
value
bool contains(double value) { return value >= start && value <= end; }