a / b 的上取整就是 (a + b - 1) / b 的下取整, a / b 的下取整就是a / b.
上下取整
原文:https://www.cnblogs.com/warmingtxdy/p/14623783.html