asinh, asinhf, asinhl

Calcula el seno hiperbólico inverso.

double asinh(    double x  ); float asinh(    float x  );  // C++ only long double asinh(    long double x );  // C++ only float asinhf(    float x  ); long double asinhl(    long double x );

Parámetros

  • x
    Valor de punto flotante.

Valor devuelto

Las funciones asinh devuelven el seno hiperbólico inverso (arcoseno hiperbólico) de x. Esta función es válida en el dominio de punto flotante. El valor devuelto es el mismo si x es un NaN reservado, indefinido o infinito.

Entrada

Excepción SEH

Excepción de _matherr

± QNAN, IND, INF

ninguna

ninguna

Comentarios

Cuando se usa C++, se puede llamar a las sobrecargas de asinh que toman y devuelven los valores float o long double. En un programa C, asinh siempre toma y devuelve un tipo double.

Requisitos

Función

Encabezado C

Encabezado C++

asinh, asinhf, asinhl

<math.h>

<cmath>

Para obtener información adicional de compatibilidad, vea Compatibilidad.

Ejemplo

// crt_asinh.c
// Compile by using: cl /W4 crt_asinh.c
// This program displays the hyperbolic sine of pi / 4
// and the arc hyperbolic sine of the result.

#include <math.h>
#include <stdio.h>

int main( void )
{
   double pi = 3.1415926535;
   double x, y;

   x = sinh( pi / 4 );
   y = asinh( x );
   printf( "sinh( %f ) = %f\n", pi/4, x );
   printf( "asinh( %f ) = %f\n", x, y );
}
  

Equivalente en .NET Framework

No es aplicable. Para llamar a la función estándar de C, use PInvoke. Para obtener más información, vea Ejemplos de invocación de plataforma.

Vea también

Referencia

Compatibilidad con el punto flotante

Long double

cos, cosf, cosl, cosh, coshf, coshl

acosh, acoshf, acoshl

sin, sinf, sinl, sinh, sinhf, sinhl

tan, tanf, tanl, tanh, tanhf, tanhl

atanh, atanhf, atanhl

_CItan