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

Method correction_shift

Processor/TruncPrTuple.h:158–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156
157 template<class U>
158 U correction_shift(U bit)
159 {
160 return bit.cheap_lshift(T::open_type::N_BITS - this->m);
161 }
162};
163
164template<class T>

Callers 2

trunc_pr_finishMethod · 0.80

Calls 1

cheap_lshiftMethod · 0.45

Tested by

no test coverage detected