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