hpux man page for tan

Query: tan

OS: hpux

Section: 3m

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

tan(3M) 																   tan(3M)

NAME
tan(), tanf(), tanl(), tanw(), tanq() - tangent functions
SYNOPSIS
HP Integrity Server Only
DESCRIPTION
returns the tangent of x (x specified in radians). On PA-RISC systems, may lose accuracy when x is far from zero. is a version of it takes a argument and returns a result. Integrity Server Only is a version of it takes a argument and returns a result. is an version of it takes an argument and returns an result. is equivalent to on HP-UX systems.
USAGE
To use these functions, compile either with the default option or with the and the options. To use (for Integrity servers) or compile also with the option. To use any of these functions, make sure your program includes and link in the math library by specifying on the compiler or linker command line. For more information, see the at the following site: PA-RISC Only Millicode versions of the and functions are available. Millicode versions of math library functions are usually faster than their counter- parts in the standard library. To use these versions, compile your program with the or the optimization option. For special cases, the millicode versions return the same values as their standard library counterparts (see the section).
RETURN VALUE
If x returns NaN and raises the invalid exception. x is NaN, returns NaN. When it raises no other exception, whether raises the inexact exception is unspecified.
ERRORS
No errors are defined.
SEE ALSO
atan(3M), atan2(3M), cos(3M), ctan(3M), sin(3M), sincos(3M), tand(3M), tan(3M), math(5).
STANDARDS CONFORMANCE
SVID3, XPG4.2, ANSI C, ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'') : ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'') tan(3M)
Related Man Pages
acosq(3m) - hpux
cos(3m) - hpux
cosf(3m) - hpux
cosl(3m) - hpux
cosw(3m) - hpux
Similar Topics in the Unix Linux Community
ANSI / C Compiler for HP-UX 11.11