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
Tracking a value modulo 2*pi is a relatively useful thing to do, perhaps Quil's expressions should be extended to include a modulo operator.
Since % is already used for variables this wouldn't be a good choice. Instead we could:
mod(dividend, divisor)
\
The text was updated successfully, but these errors were encountered:
@stylewarning would this be written
MOD remainder dividend divisor
Sorry, something went wrong.
another option is to do division and remainder simultaneously
stylewarning
No branches or pull requests
Tracking a value modulo 2*pi is a relatively useful thing to do, perhaps Quil's expressions should be extended to include a modulo operator.
Since % is already used for variables this wouldn't be a good choice. Instead we could:
mod(dividend, divisor)
, although this would be the first named function in quil with >1 arguments\
)The text was updated successfully, but these errors were encountered: