Freigeben über


asinh, asinhf, asinhl

Berechnet den umgekehrten hyperbolischen Sinus.

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 );

Parameter

  • x
    Gleitkommawert.

Rückgabewert

Die asinh-Funktionen geben den umgekehrten hyperbolischen Sinus (hyperbolischen Arkussinus) von x zurück. Diese Funktion ist über der Gleitkommadomäne gültig. Wenn x ein stiller NaN, ein unbestimmter oder unendlicher Wert ist, wird derselbe Wert zurückgegeben.

Eingabe

SEH-Ausnahme

_matherr-Ausnahme

± QNAN, IND, INF

Keine

Keine

Hinweise

Wenn Sie C++ verwenden, können Sie Überladungen von asinh aufrufen, die float- oder long double-Werte annehmen und zurückgeben. In einem C-Programm verwendet asinh immer double und gibt diesen Wert zurück.

Anforderungen

Funktion

C-Header

C++-Header

asinh, asinhf, asinhl

<math.h>

<cmath>

Zusätzliche Informationen zur Kompatibilität finden Sie unter Kompatibilität.

Beispiel

// 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 );
}
  

.NET Framework-Entsprechung

Nicht zutreffend. Mit PInvoke rufen Sie die Standard-C-Funktion auf. Weitere Informationen finden Sie unter Beispiele für Plattformaufrufe.

Siehe auch

Referenz

Gleitkommaunterstützung

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