Guardian C Library Calls Reference Manual
tan
3-218 128833—Guardian TNS C Library Calls Reference Manual
Reference to Library Calls
tan
The tan function computes the tangent of its argument.
expr
specifies an angle in radians.
Return Value
is the tangent of expr.
Example
This example prints “The tangent is 1.000004.”:
#include <mathh>
#include <stdioh>
int main(void)
{
double x;
x = 0.7854;
printf("The tangent is %f.", tan(x));
}
#include <mathh>
double tan(double expr);