tan calculates the tangent and tanh calculates the hyperbolic tangent of the number.
#include <math.h> double tan (double x); double tanh (double x);
x
tan |
Returns the tangent of Returns a PLOSS error and sets errno to ERANGE if Returns 0, prints a TLOSS error message to stderr, and sets errno to ERANGE if |
tanh |
Returns the hyperbolic tangent of No error return for tanh. |
These functions do not return standard ANSI domain or range errors.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtme 3.0 | intime/rt/include/math.h | math.h | clib.lib |