initc3 / HoneyBadgerMPC

Robust MPC-based confidentiality layer for blockchains
GNU General Public License v3.0
128 stars 64 forks source link

Implement division of two FixedPoint numbers #461

Open Mikerah opened 4 years ago

Mikerah commented 4 years ago

Currently, with a FixedPoint, one can divide a number that is either a float or an int. Under the hood, this float or int gets converted to a Fixed and mul is applied. A way to do enable this is to do the following: