Keil Logo Arm Logo

CARM User's Guide

Discontinued

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

Keil logo

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.