Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
164
template<class T>
Callers
2
trunc_pr_finish
Method · 0.80
trunc_pr_small_gap_finish
Method · 0.80
Calls
1
cheap_lshift
Method · 0.45
Tested by
no test coverage detected