summaryrefslogtreecommitdiff
path: root/src/math/sin.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-16 14:00:51 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-16 14:00:51 -0400
commit896e28812c51b9ffdf3efc00c7d7ef699e380a58 (patch)
treeaaa25e093fb4a2ac4c57609e1f745e5ac0734ca8 /src/math/sin.c
parent0b0d1fe1d4fbf8560577d81e5af0549683eac8ba (diff)
formatting
Diffstat (limited to 'src/math/sin.c')
-rw-r--r--src/math/sin.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/math/sin.c b/src/math/sin.c
index e93a663b..017b750a 100644
--- a/src/math/sin.c
+++ b/src/math/sin.c
@@ -1,10 +1,11 @@
# define TGSOURCE "sin.c"
+#include <errno.h>
+#include <fenv.h>
#include <math.h>
#include "_tgmath.h"
-#include "errno.h"
-#include "fenv.h"
/** sine **/
+
TYPE TGFN(sin)(TYPE x)
{
int MAXLOOPS = 10;
@@ -52,7 +53,5 @@ compute sine of ARGUMENT(x), in radians.
/*
IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL))
LINK(m)
-*/
-/*
STDC(1)
*/