MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / rabbit_gap

Method rabbit_gap

Compiler/program.py:870–874  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

868 and not self.options.max_parallel_open
869
870 def rabbit_gap(self):
871 assert self.prime
872 p = self.prime
873 logp = int(round(math.log(p, 2)))
874 return abs(p - 2 ** logp) / p < 2 ** -self.security
875
876 @property
877 def active(self):

Callers 3

__init__Method · 0.95
use_ciscMethod · 0.95
BitDecFullFunction · 0.80

Calls 1

absFunction · 0.85

Tested by

no test coverage detected