Loading...
Select Version
&pagelevel(4)&pagelevel
Definition | #include <math.h> double cosh(double x); Diese Funktionen berechnen den Cosinus hyperbolicus für die Gleitkommazahl x. | |
Returnwert | cosh(x) | bei Erfolg. |
|
| abhängig vom Funktionstyp, bei Überlauf. |
Beispiel | Folgendes Programm gibt für Werte aus [-1.0, +1.0] die entsprechenden Cosinus hyperbolicus-Werte aus. #include <math.h> #include <stdio.h> int main(void) { double x; for (x = -1.0; x <= 1.0; x = x + 0.1) printf("cosh(%f) = %f\n", x, cosh(x)); return 0; } | |
Siehe auch | acos, cos, sin, asin, sinh, tan, atan, atan2, tanh |