mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-09 21:48:11 -05:00
9 lines
165 B
Python
9 lines
165 B
Python
@export
|
|
def trunc_pr(x):
|
|
print_ln('x=%s', x.reveal())
|
|
res = x.round(32, 2)
|
|
print_ln('res=%s', res.reveal())
|
|
return res
|
|
|
|
trunc_pr(sint(0, size=1000))
|