summaryrefslogtreecommitdiff
path: root/src/math/tan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/tan.c')
-rw-r--r--src/math/tan.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/math/tan.c b/src/math/tan.c
index 061e6cdd..8f11e02c 100644
--- a/src/math/tan.c
+++ b/src/math/tan.c
@@ -1,10 +1,11 @@
# define TGSOURCE "tan.c"
+#include <errno.h>
+#include <fenv.h>
#include <math.h>
#include "_tgmath.h"
-#include "errno.h"
-#include "fenv.h"
/** tangent **/
+
TYPE TGFN(tan)(TYPE x)
{
switch (fpclassify(x)) {
@@ -30,7 +31,5 @@ compute the tanget of ARGUMENT(x), in radians.
/*
IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL))
LINK(m)
-*/
-/*
STDC(1)
*/