sin(3) Library Functions Manual sin(3) NOMBRE sin, sinf, sinl - funcion seno BIBLIOTECA Biblioteca Matematica (libm, -lm) SINOPSIS #include double sin(double x); float sinf(float x); long double sinl(long double x); Requisitos de Macros de Prueba de Caracteristicas para glibc (vease feature_test_macros(7)): sinf(), sinl(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || /* Desde glibc 2.19: */ _DEFAULT_SOURCE || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE DESCRIPCION Estas funciones devuelven el seno de x, en donde x esta expresado en radianes. VALOR DEVUELTO Si no sucede ningun error, estas funciones devuelven el seno 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. 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. ATRIBUTOS Para obtener una explicacion de los terminos usados en esta seccion, vease attributes(7). +-----------------------------+--------------------+-------------------+ |Interfaz | Atributo | Valor | +-----------------------------+--------------------+-------------------+ |sin(), sinf(), sinl() | 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), csin(3), sincos(3), tan(3) TRADUCCION La traduccion al espanol de esta pagina del manual fue creada por fmarzoa 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 . Linux man-pages 6.18 8 Febrero 2026 sin(3)