aboutsummaryrefslogtreecommitdiff
path: root/nuttx/lib/math/lib_atan.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/lib/math/lib_atan.c')
-rw-r--r--nuttx/lib/math/lib_atan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/lib/math/lib_atan.c b/nuttx/lib/math/lib_atan.c
index 2b7f6e3a6..b4db8fb31 100644
--- a/nuttx/lib/math/lib_atan.c
+++ b/nuttx/lib/math/lib_atan.c
@@ -40,7 +40,7 @@
* Public Functions
************************************************************************/
-#if CONFIG_HAVE_DOUBLE
+#ifdef CONFIG_HAVE_DOUBLE
double atan(double x)
{
return asin(x / sqrt(x * x + 1));