Function: tan

tan is a function defined in floatfns.c.

Signature

(tan ARG)

Documentation

Return the tangent of ARG.

Other relevant functions are documented in the number group.

View in manual

Probably introduced at or before Emacs version 24.3.

Shortdoc

;; number
(tan float-pi)
    => -1.2246467991473532e-16

Source Code

// Defined in /usr/src/emacs/src/floatfns.c
{
  double d = extract_float (arg);
  d = tan (d);
  return make_float (d);
}