docs: public void setMinMax(double min, double max)
      {
          if(min <= 0 || Double.isNaN(min) || Double.isInfinite(min))
              throw new IllegalArgumentException("min value must be positive, not " + min);
          else if(min >= max || Double.isNaN(max) || Double.isInfinite(max))
              throw new IllegalArgumentException("max (" + max + ") must be larger than min (" + min+")" );
          this.max = max;
          this.min = min;
          this.logMax = Math.log(max);
          this.logMin = Math.log(min);
          this.logDiff = logMax-logMin;
          this.diff = max-min;
      }