Provided by: manpages-pt-br-dev_4.18.1-1_all bug

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)
              An underflow floating-point exception (FE_UNDERFLOW)  is raised.

       Estas funções não definem errno.

ATRIBUTOS

       Para uma explicação dos termos usados nesta seção, consulte attributes(7).

       ┌───────────────────────────────────────────────────────────────┬───────────────┬─────────┐
       │InterfaceAtributoValor   │
       ├───────────────────────────────────────────────────────────────┼───────────────┼─────────┤
       │erf(), erff(), erfl()                                          │ Thread safety │ MT-Safe │
       └───────────────────────────────────────────────────────────────┴───────────────┴─────────┘

PADRÕES

       C99, POSIX.1-2001, POSIX.1-2008.

       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
       ⟨https://www.gnu.org/licenses/gpl-3.0.html⟩  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 ⟨debian-l10n-portuguese@lists.debian.org⟩.