mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-10 05:57:57 -05:00
Variable precision for floating-point outputs.
This commit is contained in:
@@ -103,6 +103,9 @@ def print_ln_if(cond, s):
|
||||
cond.print_if(s[:4])
|
||||
s = s[4:]
|
||||
|
||||
def print_float_precision(n):
|
||||
print_float_prec(n)
|
||||
|
||||
def runtime_error(msg='', *args):
|
||||
""" Print an error message and abort the runtime. """
|
||||
print_str('User exception: ')
|
||||
|
||||
Reference in New Issue
Block a user