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

NOME

       expm1, expm1f, expm1l - exponential minus 1

BIBLIOTECA

       Biblioteca matemática (libm, -lm)

SINOPSE

       #include <math.h>

       double expm1(double x);
       float expm1f(float x);
       long double expm1l(long double x);

   Requisitos de macro de teste de recursos para o glibc (consulte feature_test_macros(7)):

       expm1():
           _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L
               || _XOPEN_SOURCE >= 500
               || /* Desde o glibc 2.19: */ _DEFAULT_SOURCE
               || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE

       expm1f(), expm1l():
           _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 a value equivalent to

           exp(x) - 1

       The  result  is  computed  in a way that is accurate even if the value of x is near zero—a
       case where exp(x) - 1 would be inaccurate due to  subtraction  of  two  numbers  that  are
       nearly equal.

VALOR DE RETORNO

       On success, these functions return exp(x) - 1.

       Se x é um NaN, um NaN é retornado.

       Se x é +0 (-0), +0 (-0) é retornado.

       Se x é infinito positivo, infinito positivo é retornado.

       If x is negative infinity, -1 is returned.

       Se  o resultado é excedido, ocorrerá um erro de intervalo e as funções retornam -HUGE_VAL,
       -HUGE_VALF ou -HUGE_VALL, respectivamente.

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, overflow
              errno  is  set  to  ERANGE  (but  see  BUGS).  An overflow floating-point exception
              (FE_OVERFLOW)  is raised.

ATRIBUTOS

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

       ┌───────────────────────────────────────────────────────────────┬───────────────┬─────────┐
       │InterfaceAtributoValor   │
       ├───────────────────────────────────────────────────────────────┼───────────────┼─────────┤
       │expm1(), expm1f(), expm1l()                                    │ Thread safety │ MT-Safe │
       └───────────────────────────────────────────────────────────────┴───────────────┴─────────┘

PADRÕES

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

BUGS

       Before glibc 2.17, on certain architectures (e.g., x86, but not x86_64) expm1()  raised  a
       bogus  underflow  floating-point  exception  for  some  large negative x values (where the
       function result approaches -1).

       Before approximately glibc 2.11, expm1()  raised a bogus invalid floating-point  exception
       in  addition  to  the  expected overflow exception, and returned a NaN instead of positive
       infinity, for some large positive x values.

       Before glibc 2.11, the glibc implementation did not set errno to ERANGE when a range error
       occurred.

VEJA TAMBÉM

       exp(3), log(3), log1p(3)

TRADUÇÃO

       A  tradução  para  português  brasileiro  desta página man foi criada por Felipe M Pereira
       <Felipe.Pereira@ic.unicamp.br> 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⟩.