micropython/lib/libm_dbl/tanh.c

6 lines
75 B
C
Raw Normal View History

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