From 896e28812c51b9ffdf3efc00c7d7ef699e380a58 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sun, 16 Aug 2020 14:00:51 -0400 Subject: formatting --- src/math/atan2.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'src/math/atan2.c') diff --git a/src/math/atan2.c b/src/math/atan2.c index 38ba944e..8d7c1260 100644 --- a/src/math/atan2.c +++ b/src/math/atan2.c @@ -1,17 +1,11 @@ # define TGSOURCE "atan2.c" +#include #include -#include "_tgmath.h" -#include "errno.h" #include "_assert.h" - -#include "M_PI.c" -#include "M_PI_2.c" - -#ifndef copysign -#define copysign(_x, _y) _x -#endif +#include "_tgmath.h" /** arc tangent **/ + TYPE TGFN(atan2)(TYPE y, TYPE x) { int classy = fpclassify(y); @@ -88,7 +82,5 @@ the correct quadrant. /* IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) -*/ -/* STDC(1) */ -- cgit v1.2.1