code: public static int iceil (float v) {
          int iv = (int)v;
          return (v <= 0f || iv == v || iv == Integer.MAX_VALUE) ? iv : (iv + 1);
      }
docs: Returns the ceiling of v as an integer without calling the relatively expensive
  {@link Math#ceil}.