File:  [DVB] / dietlibc / libm / tanh.c
Revision 1.1: download - view: text, annotated - select for diffs
Fri Jul 27 20:30:34 2001 UTC (22 years, 10 months ago) by fefe
Branches: MAIN
CVS tags: finnland_test_200301, branch_rc14_fieldtest_finnland, branch_rc13_fieldtest_finnland, branch_rc12_fieldtest_finnland, branch_rc10_fieldtest_finnland, RELEASE_finnland_200301_1, RC12_FIELDTEST_FINNLAND, RC10_FIELDTEST_FINNLAND, HEAD
More Frank Klemm tweaks

#include <math.h>

double  tanh ( double x )
{
    long double  y = exp (x + x);
    return (y - 1.) / (y + 1.);
}

LinuxTV legacy CVS <linuxtv.org/cvs>