Function create_rounded_interval

Function create_rounded_interval#

Function Documentation#

std::pair<double, double> create_rounded_interval(double min, double max)#

Creates an interval with rounded values. For this pair (a,b) is a <= min, max <= b.

Parameters:
  • min – the lowest value

  • max – the largest value

Returns:

the rounded interval