Technical Support
On-Line Manuals
Cx51 User's Guide
#include <math.h> float cosh ( float x); /* value for hyperbolic cos function */
The cosh function calculates the hyperbolic cosine of the floating-point value x.
The cosh function returns the hyperbolic cosine for the value x.
sinh, tanh
#include <math.h> #include <stdio.h> /* for printf */ void tst_cosh (void) { float x; float y; for (x = 0; x < (2 * 3.1415); x += 0.1) { y = cosh (x); printf ("COSH(%f) = %f\n", x, y); } }
Cookie Settings | Terms of Use | Privacy | Accessibility | Trademarks | Contact Us | Feedback
Copyright © 2005-2019 Arm Limited (or its affiliates). All rights reserved.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
Change Settings
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.