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

Incorrect solutions (and odd number of bits in output) using trig circuits (sin & cos) #176

Open
GPhilli opened this issue Jul 14, 2021 · 0 comments

Comments

@GPhilli
Copy link

GPhilli commented Jul 14, 2021

Hi All,

We have encountered the following two issues using the trigonometric circuits in the ABY circuit bin:

  1. The outputs of the fp_ieee and standard 32 bit circuits output 40 and 33 bits of output respectively for both the sin and cos functions. We are not sure why they do so, and are not sure which of these bits are informative to the results.
  2. Perhaps related to the first problem, we cannot achieve correct results using these circuits -- even when taking off corresponding first or last digits that presumably may represent diagnostic information.

We attach the following output demonstrating these errors in the standard 32 after running a test diagnostic:

image

Thank you for your time, and double thank you for developing such an awesome tool!

  • Greg P
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant