We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
?- X #= sign(-10). caught: error(domain_error(clpz_expression,sign(-10)),unknown(sign(-10))-1)
Expected: X = -1.
X = -1.
See also this comment.
The text was updated successfully, but these errors were encountered:
?- X #= sign(X). clpz:(X#=sign(X)), clpz:(X in-1..1). % clpz:(X#=sign(X)) not needed
Whenever X is -1..1 or less, replace sign(X) by X.
Sorry, something went wrong.
@triska: Is this too difficult to integrate?
?- X #= sign(X). clpz:(X#=sign(X)), clpz:(X in-1..1), unexpected. clpz:(X in-1..1). % expected X in-1..1. % alternate formulation
No branches or pull requests
Expected:
X = -1.
See also this comment.
The text was updated successfully, but these errors were encountered: