tan(3) Library Functions Manual tan(3) NOMBRE tan, tanf, tanl - funcion tangente BIBLIOTECA Biblioteca Matematica (libm, -lm) SINOPSIS #include double tan(double x); float tanf(float x); long double tanl(long double x); Requisitos de Macros de Prueba de Caracteristicas para glibc (vease feature_test_macros(7)): tanf(), tanl(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || /* Desde glibc 2.19: */ _DEFAULT_SOURCE || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE DESCRIPCION Estas funciones devuelven la tangente de x, donde x esta expresado en radianes. VALOR DEVUELTO Si no sucede ningun error, estas funciones devuelven la tangente de x. Si x es un NaN, NaN es devuelto. If x is positive infinity or negative infinity, a domain error occurs, and a NaN is returned. If the correct result would overflow, a range error occurs, and the functions return HUGE_VAL, HUGE_VALF, or HUGE_VALL, respectively, with the mathematically correct sign. ERRORES Consulte math_error(7) para saber como es posible conocer si se ha producido algun error al invocar estas funciones. Puede ocurrir los siguientes errores Error de dominio: x es infinito errno is set to EDOM (but see BUGS). An invalid floating-point exception (FE_INVALID) is raised. Range error: result overflow An overflow floating-point exception (FE_OVERFLOW) is raised. ATRIBUTOS Para obtener una explicacion de los terminos usados en esta seccion, vease attributes(7). +-----------------------------+--------------------+-------------------+ |Interfaz | Atributo | Valor | +-----------------------------+--------------------+-------------------+ |tan(), tanf(), tanl() | Seguridad del hilo | Multi-hilo seguro | +-----------------------------+--------------------+-------------------+ ESTANDARES C11, POSIX.1-2008. HISTORIAL C99, POSIX.1-2001. The variant returning double also conforms to SVr4, 4.3BSD, C89. ERRORES Before glibc 2.10, the glibc implementation did not set errno to EDOM when a domain error occurred. VEASE TAMBIEN acos(3), asin(3), atan(3), atan2(3), cos(3), ctan(3), sin(3) TRADUCCION La traduccion al espanol de esta pagina del manual fue creada por Gerardo Aburruzaga Garcia y Marcos Fouces Esta traduccion es documentacion libre; lea la GNU General Public License Version 3 o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. Si encuentra algun error en la traduccion de esta pagina del manual, envie un correo electronico a . Paginas de manual de Linux 6.06 31 Octubre 2023 tan(3)