static long lfloor(double d) { ret (long) Math.floor(d); }