static long intRangeToLong(IntRange r) { ret r == null ? 0 : twoIntsToLong(r.start, r.end); }