Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

sinh, sinhf, sinhl - Sinus hyperbolicus

&pagelevel(4)&pagelevel

Definition

#include <math.h>

double sinh(double x);
float sinhf(float x); (C11)
long double sinhl(long double x); (C11)

Diese Funktionen berechnen den Sinus hyperbolicus für die Gleitkommazahl x.

Returnwert

sinh(x)

für eine Gleitkommazahl x.

 

+/-HUGE_VAL
+/-HUGE_VALF
+/-HUGE_VALL

abhängig vom Funktionstyp und Vorzeichen von x, bei Überlauf.
Zusätzlich wird errno auf ERANGE gesetzt (Resultat zu groß).

Beispiel

Folgendes Programm gibt die Sinushyperbolicuswerte aus dem Bereich von -1 bis 1 aus (Schrittweite 0.1).

#include <math.h>
#include <stdio.h>
int main(void)
{
   double x;
   for (x = -1.0; x < 1.0; x = x + 0.1)
       printf(" sinh(%.2f) = %.4f \n ", x, sinh(x));
   return 0;
}

Siehe auch

cosh, asin, sin