-
Notifications
You must be signed in to change notification settings - Fork 131
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
Does ABY support real numbers? #22
Comments
ABY does support the following operations on floating-point numbers of different precisions using BooleanCircuit::PutFPGate(): There are some shift operations available for Boolean Circuits: Hope that helps. Let me know if you have further questions. |
@dd23 I guess the main difference lies in the declaration of operands and I tried to modify them. But I always encountered such problems as |
Would be great to have a example with a SQRT! |
There is an example for using floating-point gates: https://github.com/encryptogroup/ABY/blob/public/src/examples/float/abyfloat.cpp I have just extended it in b21faaf and added an example for SQRT as well. Hope this helps. |
Cheers! Thank you very much. |
I've been working with FPGates on the latest b21faaf commit. Would it be possible to have a different path to the circ folder then "../../bin/circ". Maybe putting it as variable somewhere? |
Took some time, but since ede04f8 it's now possible to specify the path to the circuits at runtime by passing it to the ABYParty constructor, e.g., like in the float example. The default is still |
Is there an example with an EXP FP gate? Or is there any way to view the intermediate float values in the shares for debugging? |
There is currently no example for the EXP FP gate, but if you submit a pull request, we can include it in the repo. |
I want to test the performance of addition and multiplication of real numbers in ABY.
Is there built-in types for fixed-point or floating-point numbers in ABY?
Does ABY support right shift or left shift operations for sharings?
The text was updated successfully, but these errors were encountered: