Provided by: manpages-pt-br-dev_4.27.0-1_all 

NOME
erf, erff, erfl - função de erro
BIBLIOTECA
Biblioteca matemática (libm, -lm)
SINOPSE
#include <math.h>
double erf(double x);
float erff(float x);
long double erfl(long double x);
Requisitos de macro de teste de recursos para o glibc (consulte feature_test_macros(7)):
erf():
_ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE
|| /* Desde o glibc 2.19: */ _DEFAULT_SOURCE
|| /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
erff(), erfl():
_ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L
|| /* Desde o glibc 2.19: */ _DEFAULT_SOURCE
|| /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
DESCRIÇÃO
These functions return the error function of x, defined as
erf(x) = 2/sqrt(pi) * integral de 0 a x de exp(-t*t) dt
VALOR DE RETORNO
On success, these functions return the value of the error function of x, a value in the range [-1, 1].
Se x é um NaN, um NaN é retornado.
Se x é +0 (-0), +0 (-0) é retornado.
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).
ERROS
Consulte math_error(7) para obter informações sobre como determinar se ocorreu um erro ao chamar essas
funções.
Os seguintes erros podem ocorrer:
Range error: result underflow (x is subnormal)
Uma exceção de ponto flutuante de estouro negativo (FE_OVERFLOW) é levantada.
Estas funções não definem errno.
ATRIBUTOS
Para uma explicação dos termos usados nesta seção, consulte attributes(7).
┌─────────────────────────────────────────────────────────────────────────────┬───────────────┬─────────┐
│ Interface │ Atributo │ Valor │
├─────────────────────────────────────────────────────────────────────────────┼───────────────┼─────────┤
│ erf(), erff(), erfl() │ Thread safety │ MT-Safe │
└─────────────────────────────────────────────────────────────────────────────┴───────────────┴─────────┘
PADRÕES
C11, POSIX.1-2008.
HISTÓRICO
C99, POSIX.1-2001.
A variante retornando double também está em conformidade com SVr4, 4.3BSD.
VEJA TAMBÉM
cerf(3), erfc(3), exp(3)
TRADUÇÃO
A tradução para português brasileiro desta página man foi criada por Marcelo D. Beckmann
<marcelobeckmann@yahoo.com> e André Luiz Fassone <lonely_wolf@ig.com.br>
Esta tradução é uma documentação livre; leia a Licença Pública Geral GNU Versão 3 ou posterior para as
condições de direitos autorais. Nenhuma responsabilidade é aceita.
Se você encontrar algum erro na tradução desta página de manual, envie um e-mail para a lista de
discussão de tradutores.
Linux man-pages 6.9.1 2 maio 2024 erf(3)