Keil Logo

sinh

Summary
#include <math.h>

double sinh (
  double x);   /* value to calc hyperbolic sine for */
Description

The sinh function calculates the hyperbolic sine of the floating-point value x.

Return Value

The sinh function returns the hyperbolic sine of x.

See Also

cosh, tanh

Example
#include <math.h>
#include <stdio.h> /* for printf */

void tst_sinh (void) {
  float x;
  float y;

  for (x = 0; x < (2 * 3.1415); x += 0.1) {
    y = sinh (x);
    printf ("SINH(%f) = %f\n", x, y);
  }
}
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.