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

public-vm: SUB, MUL, DIV for field memory type #3546

Closed
Tracked by #3310
jeanmon opened this issue Dec 4, 2023 · 0 comments
Closed
Tracked by #3310

public-vm: SUB, MUL, DIV for field memory type #3546

jeanmon opened this issue Dec 4, 2023 · 0 comments
Assignees
Labels
C-avm Component: AVM related tickets (aka public VM)

Comments

@jeanmon
Copy link
Contributor

jeanmon commented Dec 4, 2023

No description provided.

@jeanmon jeanmon self-assigned this Dec 4, 2023
@jeanmon jeanmon added the C-avm Component: AVM related tickets (aka public VM) label Dec 4, 2023
jeanmon added a commit that referenced this issue Dec 8, 2023
#3612)

Resolves #3546 
Resolves #3548

### Description

This PR introduces the following opcodes for the finite field type:

- SUB: subtraction
- MUL: multiplication
- DIV: division

For division, error is raised whenever the numerator is zero. A boolean
column op_err was introduced for this purpose.
@jeanmon jeanmon closed this as completed Dec 11, 2023
michaelelliot pushed a commit to Swoir/noir_rs that referenced this issue Feb 28, 2024
AztecProtocol#3612)

Resolves AztecProtocol#3546 
Resolves AztecProtocol#3548

### Description

This PR introduces the following opcodes for the finite field type:

- SUB: subtraction
- MUL: multiplication
- DIV: division

For division, error is raised whenever the numerator is zero. A boolean
column op_err was introduced for this purpose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-avm Component: AVM related tickets (aka public VM)
Projects
Archived in project
Development

No branches or pull requests

1 participant