tech on the net
Home About Us Feedback Site Map


Access Excel Word


SQL Oracle / PLSQL SQL Server MySQL MariaDB PostgreSQL

Web Development

HTML CSS Color Picker


C Language


ASCII Table Linux UNIX Java Clipart Joke of the Moment

C Functions

(Scroll to see more)

Share this page:

C Language: tan function

In the C Programming Language, the tan function returns the tangent of x.


The syntax for the C Language tan function is:

double tan(double x);

Parameters or Arguments

x is a value expressed in radians (not degrees).


The tan function returns the tangent of x, measured in radians.

Required Header

In the C Language, the required header for the tan function is:

#include <math.h>

Applies To

In the C Language, the tan function can be used in the following versions:

Similar Functions

Other C functions that are similar to the tan function: