erf(3) Library Functions Manual erf(3) NOMBRE erf, erff, erfl - funcion error BIBLIOTECA Biblioteca Matematica (libm, -lm) SINOPSIS #include double erf(double x); float erff(float x); long double erfl(long double x); Requisitos de Macros de Prueba de Caracteristicas para glibc (vease feature_test_macros(7)): erf(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE || /* Desde glibc 2.19: */ _DEFAULT_SOURCE || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE erff(), erfl(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || /* Desde glibc 2.19: */ _DEFAULT_SOURCE || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE DESCRIPCION Estas funciones devuelven la funcion error de x; definida como erf(x) = 2/sqrt(pi) * integral desde 0 hasta x de exp(-t*t) dt VALOR DEVUELTO Si no ocurre ningun error, estas funciones devuelven el valor de la funcion error de x, un valor en el intervalo [-1, 1]. Si x es un NaN, NaN es devuelto. Si x es un +0 (-0), +0 (-0) es devuelto. If x is positive infinity (negative infinity), +1 (-1) is returned. If x is subnormal, a range error occurs, and the return value is 2*x/sqrt(pi). 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 Range error: result underflow (x is subnormal) An underflow floating-point exception (FE_UNDERFLOW) is raised. Estas funciones no definen errno. ATRIBUTOS Para obtener una explicacion de los terminos usados en esta seccion, vease attributes(7). +-----------------------------+--------------------+-------------------+ |Interfaz | Atributo | Valor | +-----------------------------+--------------------+-------------------+ |erf(), erff(), erfl() | 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. VEASE TAMBIEN cerf(3), erfc(3), exp(3) TRADUCCION La traduccion al espanol de esta pagina del manual fue creada por Sebastian Desimone , 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 erf(3)