Skip to content

Commit bf6bda3

Browse files
author
BaierD
committed
Update the JavaDoc for Integer modulo
1 parent 7d6b6d4 commit bf6bda3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/org/sosy_lab/java_smt/api/IntegerFormulaManager.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ public interface IntegerFormulaManager
2727

2828
/**
2929
* Create a formula representing the modulo of two operands according to Boute's Euclidean
30-
* definition.
30+
* definition. The quotient (div numerator denominator) of the internal modulo calculation is
31+
* floored for positive denominators and rounded up for negative denominators.
3132
*
3233
* <p>If the denominator evaluates to zero (modulo-by-zero), either directly as value or
3334
* indirectly via an additional constraint, then the solver is allowed to choose an arbitrary

0 commit comments

Comments
 (0)