C Tutorial/math.h/acosh
acosh
Item Value Header file math.h Declaration float acoshf(float arg);double acosh(double arg);long double acoshl(long double arg); Return returns the arc hyperbolic cosine of arg. Parameter The argument must be zero or greater; otherwise a domain error will occur.
<source lang="cpp">#include <math.h>
#include <stdio.h> int main(void) { double val = -1.0; do { printf(" %f.\n", val, acosh(val)); val += 1; } while(val<=10.0); return 0; }</source>