Tangent of argument in radians
In floating-point arithmetic, tan
is a bounded function. That
is, tan
does not return values of Inf
or
-Inf
at points of divergence that are multiples of
pi
, but a large magnitude number instead. This stems from the
inaccuracy of the floating-point representation of π.