def trunc(x, context=None):
    """
    Return the next integer towards zero.

    If the result is not exactly representable, it will be rounded according to
    the current context.

    .. note::

       This function corresponds to the MPFR function ``mpfr_rint_trunc``,
       not to ``mpfr_trunc``.

    """
    return _apply_function_in_current_context(
        BigFloat,
        mpfr.mpfr_rint_trunc,
        (BigFloat._implicit_convert(x),),
        context,
    )
def trunc ( x , context = None ) : return _apply_function_in_current_context ( BigFloat , mpfr . mpfr_rint_trunc , ( BigFloat . _implicit_convert ( x ) , ) , context , )
Return the next integer towards zero.

    If the result is not exactly representable, it will be rounded according to
    the current context.

    .. note::

       This function corresponds to the MPFR function ``mpfr_rint_trunc``,
       not to ``mpfr_trunc``.