# Ticket #15058: trac_15058-review.patch

File trac_15058-review.patch, 2.4 KB (added by kcrisman, 7 years ago)
• ## sage/functions/trig.py

```# HG changeset patch
# User Karl-Dieter Crisman <kcrisman@gmail.com>
# Date 1376936733 14400
# Node ID 3d30363d235408e632a196d002f1cf2cf73d0743
# Parent  0ae0528d7988fc6927fca1edb825ef39fa915383
Review patch for #15058

diff --git a/sage/functions/trig.py b/sage/functions/trig.py```
 a class Function_tan(GinacFunction): def __init__(self): """ The tangent function The tangent function. EXAMPLES:: class Function_sec(BuiltinFunction): def __init__(self): r""" The secant function The secant function. EXAMPLES:: sage: a = arcsin(0,hold=True); a.simplify() 0 ``conjugate(arcsin(x))==arcsin(conjugate(x))`` unless on the branch ``conjugate(arcsin(x))==arcsin(conjugate(x))``, unless on the branch cuts which run along the real axis outside the interval [-1, +1].:: sage: conjugate(arcsin(x)) class Function_arccos(GinacFunction): def __init__(self): """ The arccosine function The arccosine function. EXAMPLES:: sage: a = arccos(0,hold=True); a.simplify() 1/2*pi ``conjugate(arccos(x))==arccos(conjugate(x))`` unless on the branch cuts which run along the real axis outside the interval [-1, +1].:: ``conjugate(arccos(x))==arccos(conjugate(x))``, unless on the branch cuts, which run along the real axis outside the interval [-1, +1].:: sage: conjugate(arccos(x)) conjugate(arccos(x)) sage: a = arctan(0,hold=True); a.simplify() 0 ``conjugate(arctan(x))==arctan(conjugate(x))`` unless on the branch ``conjugate(arctan(x))==arctan(conjugate(x))``, unless on the branch cuts which run along the imaginary axis outside the interval [-I, +I].:: sage: conjugate(arctan(x)) sage: arctan2(y,x).operator() arctan2 Check if #8565 is fixed:: Check if :trac:`8565` is fixed:: sage: atan2(-pi,0) -1/2*pi Check if #8564 is fixed:: Check if :trac:`8564` is fixed:: sage: arctan2(x,x)._sympy_() atan2(x, x)