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
Hello, sorry for disturbing you. I observed that division on arithmetic sharing cannot be conducted successfully. I use the division as follows.
def void main(){ uint32_al a1 = 5u; uint32_al a2 = 5u; uint32_al a3 = a1 / a2; output(CLIENT, a3); }
The result is shown below.
Value of a3: 2407609618
It seems to be a random number. In comparison, when I use division on boolean sharing in the same way. It outputs as expected.
def void main(){ uint32_bl a1 = 5u; uint32_bl a2 = 5u; uint32_bl a3 = a1 / a2; output(CLIENT, a3); }
Value of a3: 1
Can you help me by explaining this strange behavior? Did I use the division in the wrong way?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello, sorry for disturbing you.
I observed that division on arithmetic sharing cannot be conducted successfully. I use the division as follows.
The result is shown below.
It seems to be a random number.
In comparison, when I use division on boolean sharing in the same way. It outputs as expected.
The result is shown below.
Can you help me by explaining this strange behavior? Did I use the division in the wrong way?
The text was updated successfully, but these errors were encountered: