Next: ref-ari-exc, Previous: ref-ari-ove, Up: ref-ari [Contents][Index]
The most common way to do arithmetic calculations in Prolog is to use
the built-in predicate is/2.
-Term is +ExprTerm is the value of arithmetic expression Expr.
Expr must not contain any uninstantiated variables. Do Not
confuse is/2 with =/2.