Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

cosh, coshf, coshl - Cosinus hyperbolicus berechnen

&pagelevel(4)&pagelevel

Definition

#include <math.h>

double cosh(double x);
C11
float coshf(float x);
long double coshl(long double x); (Ende)

Beschreibung

Diese Funktionen berechnen den Cosinus hyperbolicus für die Gleitpunktzahl x.

Returnwert

cosh(x)

bei Erfolg.

 

HUGE_VAL
HUGE_VALF
HUGE_VALL

abhängig vom Funktionstyp, bei Überlauf.
errno wird gesetzt, um den Fehler anzuzeigen.

Fehler

cosh(), coshf() und coshl() schlagen fehl, wenn gilt:


ERANGE

Der Wert von x verursacht einen Überlauf.

Siehe auch

acos(), asin(), atan(), cos(), sinh(), tanh(), math.h.