Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Implement neg() for all numerical types. #336

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Implement neg() for all numerical types. #336

wants to merge 1 commit into from

Conversation

stoklund
Copy link

This fixes issue #310.

This implements neg(X) in modulo arithmetic as the number Y such that X + Y == 0 (mod N).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant