def tan(x, context=None):
    """
    Return the tangent of ``x``.

    """
    return _apply_function_in_current_context(
        BigFloat,
        mpfr.mpfr_tan,
        (BigFloat._implicit_convert(x),),
        context,
    )
def tan ( x , context = None ) : return _apply_function_in_current_context ( BigFloat , mpfr . mpfr_tan , ( BigFloat . _implicit_convert ( x ) , ) , context , )
Return the tangent of ``x``.