summaryrefslogtreecommitdiff
path: root/lib/libm/atan2.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libm/atan2.c')
-rw-r--r--lib/libm/atan2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libm/atan2.c b/lib/libm/atan2.c
index 3298b6c4..912d9fb5 100644
--- a/lib/libm/atan2.c
+++ b/lib/libm/atan2.c
@@ -37,7 +37,10 @@
* to produce the hexadecimal values shown.
*/
-#include "libm.h"
+#include "libm.h" // for EXTRACT_WORDS
+
+#include <math.h> // for atan, atan2, fabs, isnan
+#include <stdint.h> // for uint32_t
static const double pi = 3.1415926535897931160E+00, /* 0x400921FB, 0x54442D18 */
pi_lo = 1.2246467991473531772E-16; /* 0x3CA1A626, 0x33145C07 */