Comments (9)
@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 no member named PutFPGate
, expects argument of type, but argument has type
. I was wondering if you could give me some example?
from aby.
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?
from aby.
ABY does support the following operations on floating-point numbers of different precisions using BooleanCircuit::PutFPGate():
ADD, MUL, SUB, DIV, SIN, SQRT, EXP, EXP2, CMP, LN, LOG2, COS, SQR (as defined here)
There are some shift operations available for Boolean Circuits:
Hope that helps. Let me know if you have further questions.
from aby.
Would be great to have a example with a SQRT!
from aby.
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.
from aby.
Cheers! Thank you very much.
from aby.
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?
from aby.
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 "../../bin/circ"
so the old examples and the current directory structure of the repo keeps on working.
from aby.
There is currently no example for the EXP FP gate, but if you submit a pull request, we can include it in the repo.
from aby.
Related Issues (20)
- How to get the sign bit of a float number?
- Remote connect timeout!
- PutFPGate
- S_SPLUT HOT 1
- "Aborted" message after running psi_2D_CH_test. HOT 1
- Question about ABY OTs for boolean multiplication triples
- Dose ABY support half gate?
- cmake_constants.h is not found HOT 3
- the PutINVGate is not work.
- How to use it as remote MPC for multi-side usage? HOT 4
- cross network communication settings
- Problems Building for Android HOT 1
- make error HOT 1
- Unstable result from innerproduct_test
- Strange behavior after using B2A and A2B gate
- How to use this library with CMake? HOT 2
- OTExtension was not found: add OTExtension subdirectory HOT 2
- PYTHON FIXEDPOINT SUPPORT
- Example test cmake warning
- cmake error with relic HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aby.