Skip to content
New issue

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

Subtraction term #25

Open
ptal opened this issue Dec 12, 2016 · 0 comments
Open

Subtraction term #25

ptal opened this issue Dec 12, 2016 · 0 comments
Labels

Comments

@ptal
Copy link
Owner

ptal commented Dec 12, 2016

The problem with Addition::new(x, -b) is that b needs to be signed. We therefore needs a Subtraction term. Both can be implemented with a more general structure ArithTerm<Op,InvOp> where Addition = ArithTerm<Add, Sub> and Subtraction = ArithTerm<Sub, Add>.

@ptal ptal added the term label Dec 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant