#include <math.h>
Go to the source code of this file.
◆ tanh()
Definition at line 12 of file tanh.c.
13{
15 return 1;
17 return -1;
18 else
19 {
20 const double ebig =
exp(
x);
21 const double esmall = 1.0/ebig;
22 return (ebig - esmall) / (ebig + esmall);
23 }
24}
GLint GLint GLint GLint GLint x