static int ifloor(double d) { ret (int) Math.floor(d); } static IntRange ifloor(DoubleRange r) { ret r == null ?: intRange(ifloor(r.start), ifloor(r.end)); }