From 6f1309183345f31163cc6b8302ff29233055f5b5 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Fri, 18 May 2018 20:27:52 +0200 Subject: [PATCH] doc: explicitly state that the divisor of an ?div_? operation is positive The isl AST generator will always produce division of this form. For those created by the user, it's the user's responsibility. Requested-by: Uday Reddy B Signed-off-by: Sven Verdoolaege --- doc/user.pod | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/user.pod b/doc/user.pod index 959a8881..fd8d787c 100644 --- a/doc/user.pod +++ b/doc/user.pod @@ -9959,18 +9959,22 @@ Exact division. That is, the result is known to be an integer. Result of integer division, rounded towards negative infinity. +The divisor is known to be positive. =item C Result of integer division, where dividend is known to be non-negative. +The divisor is known to be positive. =item C Remainder of integer division, where dividend is known to be non-negative. +The divisor is known to be positive. =item C Equal to zero iff the remainder on integer division is zero. +The divisor is known to be positive. =item C @@ -10139,7 +10143,10 @@ the context of an C. The function C can be applied to an C of type C only. It is meant -to represent the address of the C. The function +to represent the address of the C. +The second argument of the functions C and +C should always evaluate to a positive number. +The function C as well as C are short-circuit versions of C and C, respectively. -- 2.11.4.GIT