.. _arduino-tan: tan(rad) ======== Description ----------- Calculates the tangent of an angle (in radians). The result will be between negative infinity and infinity. Parameters ---------- rad: the angle in radians (*float*) Returns ------- The tangent of the angle (*double*) See also -------- - `sin <http://arduino.cc/en/Reference/Sin>`_\ () - `cos <http://arduino.cc/en/Reference/Cos>`_\ () - `float <http://arduino.cc/en/Reference/Float>`_ - `double <http://arduino.cc/en/Reference/Double>`_