Places
Home
Graphs
Prefixes
Admin
Users
Settings
Plugins
Statistics
Repository
Load local file
Load from HTTP
Load from library
Remove triples
Clear repository
Query
YASGUI SPARQL Editor
Simple Form
Help
Documentation
Tutorial
Roadmap
HTTP Services
Login
A.8.17.1 Arithmetic constraints
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
The SWI-Prolog library
library(clpfd): CLP(FD): Constraint Logic Programming over Finite Domains
CLP(FD) predicate index
Arithmetic constraints
#=/2
#\=/2
#>=/2
#=</2
#>/2
#</2
Packages
?X
#\=
?Y
The arithmetic expressions
X
and
Y
evaluate to distinct integers. When reasoning over integers, replace
(=\=)/2
by
#\=/2
to obtain more general relations. See declarative integer arithmetic (
section A.8.3
).
ClioPatria
(version
V3.1.1-21-gb8003bb
)