The DTAN function accepts a number that indicates the number of radians in an angle and returns the double-precision tangent of that angle. DTAN(x) returns a positive or negative number depending on the value of x. To compute the tangent of an angle, the angle is reduced if it is outside the range 0 through pi.