summaryrefslogtreecommitdiff
path: root/src/math/tanh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/tanh.c')
-rw-r--r--src/math/tanh.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/math/tanh.c b/src/math/tanh.c
index cf5bf028..817cac35 100644
--- a/src/math/tanh.c
+++ b/src/math/tanh.c
@@ -1,9 +1,10 @@
# define TGSOURCE "tanh.c"
+#include <errno.h>
#include <math.h>
#include "_tgmath.h"
-#include "errno.h"
/** hyperbolic tangent **/
+
TYPE TGFN(tanh)(TYPE x)
{
switch (fpclassify(x)) {
@@ -29,7 +30,5 @@ compute the hyperbolic tangent of ARGUMENT(x).
/*
IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL))
LINK(m)
-*/
-/*
STDC(1)
*/