circuitpython/lib/libm_dbl/tanh.c

6 lines
75 B
C

#include <math.h>
double tanh(double x) {
return sinh(x) / cosh(x);
}