Introducing Radical.sh

Forget Code launches a powerful code generator for building API's

tanh - Calculates hyperbolic tangent in C

#include <stdio.h>
#include <math.h>

int main ()
{
  double input, result;
  input = log(2.0);
  result = tanh (input);
  printf ("The hyperbolic tangent of %lf is %lf.\n", input, result );
  return 0;
}
// The hyperbolic tangent of 0.693147 is 0.600000