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

Implement neg() for all numerical types.#336

Open
stoklund wants to merge 1 commit intotc39:masterfrom
stoklund:numerical-neg
Open

Implement neg() for all numerical types.#336
stoklund wants to merge 1 commit intotc39:masterfrom
stoklund:numerical-neg

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.

1 participant