You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I've noticed some weird behaviour when using the secret signed datatypes.
Here is an example:
def void main(){
int32_al x = 0;
int32_al y = 42;
int32_al z = x - y;
output(CLIENT, z);
}
This prints Value of z: 4294967254.
If we use the public signed type int32_pl, we get the expected result -42.
The error also occurs when using boolean shares (int32_bl).
Hello, I've noticed some weird behaviour when using the secret signed datatypes.
Here is an example:
This prints
Value of z: 4294967254
.If we use the public signed type
int32_pl
, we get the expected result-42
.The error also occurs when using boolean shares (
int32_bl
).These are my compilation and execution steps:
Is this behaviour expected?
Thank you for looking into this!
The text was updated successfully, but these errors were encountered: