·  Home
+   man pages
 -> Linux -> FreeBSD -> OpenBSD -> NetBSD -> Tru64 Unix -> HP-UX 11i -> IRIX
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

man pages->NetBSD man pages -> tan (3)
 Title
 Content
 Arch
 Section All Sections 1 - General Commands 2 - System Calls 3 - Subroutines 4 - Special Files 5 - File Formats 6 - Games 7 - Macros and Conventions 8 - Maintenance Commands 9 - Kernel Interface n - New Commands

## TAN(3)

```
```

### NAME[Toc][Back]

```     tan, tanf - tangent function
```

### LIBRARY[Toc][Back]

```     Math Library (libm, -lm)
```

### SYNOPSIS[Toc][Back]

```     #include <math.h>

double
tan(double x);

float
tanf(float x);
```

### DESCRIPTION[Toc][Back]

```     The tan() and tanf() functions compute the tangent of x (measured in
radians).  A large magnitude argument may yield a result with little or
no significance.  For a discussion of error due to roundoff, see math(3).
```

### RETURN VALUES[Toc][Back]

```     The tan() function returns the tangent value.
```

```     acos(3), asin(3), atan(3), atan2(3), cos(3), cosh(3), math(3), sin(3),
sinh(3), tanh(3)
```

### STANDARDS[Toc][Back]

```     The tan() function conforms to ANSI X3.159-1989 (``ANSI C'').

BSD                               May 2, 1991                              BSD
```
[ Back ]
Similar pages
 Name OS Title atan Linux arc tangent function atan NetBSD arc tangent function of one variable tanhf NetBSD hyperbolic tangent function tanh Linux hyperbolic tangent function atan2f NetBSD arc tangent function of two variables atanf NetBSD arc tangent function of one variable atan2 Linux arc tangent function of two variables tanh NetBSD hyperbolic tangent function atan2 NetBSD arc tangent function of two variables atanhf NetBSD inverse hyperbolic tangent function