NAME
    tan - tangent

SYNOPSIS
    tan(x [,acc])

TYPES
    x		real
    acc		real

    return	real

DESCRIPTION
    Calculate the tangent of x with an accuracy within acc.
    By default, acc is epsilon().

EXAMPLE
    > print cos(-1), cos(0), cos(2^-23)
    ~.54030230586813971740 1 ~.99999999999999289457

    > print cos(0.4), cos(0.4, 0.01), cos(acos(1), 0.001)
    ~.92106099400288508279 .921875 1

LIMITS
    acc > 0

LIBRARY
    NUMBER *qtan(NUMBER *x, *acc)

SEE ALSO
    acos, asin, atan, atan2, cos, epsilon, sin, tan
