static IntRange doubleToIntRange_endPlus1(double factor, DoubleRange r) { ret r == null ? null : intRange(iround(r.start*factor), iround(r.end*factor)+1); }