summaryrefslogtreecommitdiff
path: root/nuttx/lib/math/lib_frexpl.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/lib/math/lib_frexpl.c')
-rw-r--r--nuttx/lib/math/lib_frexpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/lib/math/lib_frexpl.c b/nuttx/lib/math/lib_frexpl.c
index 7a0d3c408..87708ad86 100644
--- a/nuttx/lib/math/lib_frexpl.c
+++ b/nuttx/lib/math/lib_frexpl.c
@@ -38,7 +38,7 @@
* Public Functions
************************************************************************/
-#if CONFIG_HAVE_LONG_DOUBLE
+#ifdef CONFIG_HAVE_LONG_DOUBLE
long double frexpl(long double x, int *exponent)
{
*exponent = (int)ceill(log2(x));