Comments (6)
Hi,
you are looking for this file containing the description of a floating point addition circuit. If you copy/link the bin/circ directory into the working directory of the application, it should work.
Unfortunately, the path is hardcoded and there is currently no runtime option to change it.
from aby.
Hi,
Thanks. I found it and it work.
Btw, do you know the definition of the files under the bin/circ directory? I am trying to use fp_nostatus_cmp_64.aby
to do cmp, but the result is 0 no matter what I input.
from aby.
I cannot help you with these circuits. Maybe you can find the information here or in the corresponding paper
from aby.
The fp_nostatus_cmp_64.aby
should get two FP inputs, similar to the addition gate in the float example.
The result is a single bit that indicates if one value a
is bigger than the other b
. I have to test if 1 means a
>b
or a
<b
and how a
==b
is handled.
I haven't used the FP circuits in a while, so I'm not 100% sure on the current status.
from aby.
Thanks, I have tested other functions in FP circuits. They can work except function CMP.
Thus, I am wondering if someone have tested it successfully.
from aby.
I have added some example code to the float example in 8aa003c
The CMP works as intended.
CMP(a,b) returns
1 if a>b
0 if a==b
0 if a<b
Please check if this works for you and if so, please close this issue.
from aby.
Related Issues (20)
- 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
- ABY operations in a loop 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.