tanh(3) Library Functions Manual tanh(3)

tanh, tanhf, tanhl - función tangente hiperbólica

Biblioteca Matemática (libm, -lm)

#include <math.h>
double tanh(double x);
float tanhf(float x);
long double tanhl(long double x);
Requisitos de Macros de Prueba de Características para glibc (véase feature_test_macros(7)):

tanhf(), tanhl():

    _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L
        || /* Desde glibc 2.19: */ _DEFAULT_SOURCE
        || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE

These functions return the hyperbolic tangent of x, which is defined mathematically as:

    tanh(x) = sinh(x) / cosh(x)

On success, these functions return the hyperbolic tangent of x.

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.

No suceden errores.

Para obtener una explicación de los términos usados en esta sección, véase attributes(7).

Interfaz Atributo Valor
tanh(), tanhf(), tanhl() Seguridad del hilo Multi-hilo seguro

C11, POSIX.1-2008.

C99, POSIX.1-2001.

The variant returning double also conforms to SVr4, 4.3BSD, C89.

acosh(3), asinh(3), atanh(3), cosh(3), ctanh(3), sinh(3)

La traducción al español de esta página del manual fue creada por Gerardo Aburruzaga García <gerardo.aburruzaga@uca.es>

Esta traducción es documentación libre; lea la GNU General Public License Version 3 o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD.

Si encuentra algún error en la traducción de esta página del manual, envíe un correo electrónico a debian-l10n-spanish@lists.debian.org.

31 Octubre 2023 Páginas de manual de Linux 6.06