_Py_double_round

Round a C double x to the closest multiple of 10**-ndigits. Returns a Python float on success, or NULL (with an appropriate exception set) on failure. Used in builtin_round in bltinmodule.c. Availability: >= 2.7

version(!Python_3_0_Or_Later && Python_2_7_Or_Later)
extern (C)
_Py_double_round
(
double x
,)

Meta