From 0f88bb319062ab74d852fe8ef28de849dd54802b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Sun, 17 Nov 2013 21:44:19 +0100 Subject: [PATCH] Comment the UC_DIV_ROUND_UP macro --- include/ucore/utils.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/ucore/utils.h b/include/ucore/utils.h index cc23bef..e70327c 100644 --- a/include/ucore/utils.h +++ b/include/ucore/utils.h @@ -109,8 +109,10 @@ do {\ while (0) /** - * Round up X / y - * + * Round up x / y + * (e.g 100/9 == 12, 3/2 == 2) + * x + y must not overflow. + * * @param x numerator, must be positive * @param y denominator * @return x/y rounded up