Returns the hyperbolic cosine of x.
coshf returns HUGE_VAL and sets macro ERANGE to global variable errno if an overflow occurs.
This function calculates the hyperbolic cosine of x. Specify the angle in radian. The definition expression is as follows.
#include <mathf.h> float func(float x) { float ret; ret = coshf(x); /*Returns value of hyperbolic cosine of x to ret.*/ : return(ret); } |