tan Function (ROM Call 0xFB*)

math.h, timath.h

float tan (float x);

Floating point tangent.

tan returns the tangent of floating point argument x, which is assumed to be specified in radians.

Note: tan will return UNSIGNED_INF for all arguments for which the tangent is infinity. Also, it will return NAN if the argument is so big that reducing to the main period can't be performed without complete losing of significant digits (i.e. when the magnitude of x is greater than 1e13).


Uses: trig
Used by: did_push_anti_deriv, push_1st_derivative, push_csolve, push_czeros, push_def_int, push_desolve, push_lim, push_max, push_min, push_nsolve, push_solve, push_zeros, push_equals, push_greater_than, push_greater_than_or_equals, push_less_than, push_less_than_or_equals, push_not_equals, get_ub