summaryrefslogtreecommitdiff
path: root/nuttx/libc/math/lib_copysign.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/libc/math/lib_copysign.c')
-rw-r--r--nuttx/libc/math/lib_copysign.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/libc/math/lib_copysign.c b/nuttx/libc/math/lib_copysign.c
index dde9cb198..ee62504db 100644
--- a/nuttx/libc/math/lib_copysign.c
+++ b/nuttx/libc/math/lib_copysign.c
@@ -54,6 +54,7 @@ double copysign(double x, double y)
{
return -fabs(x);
}
+
return fabs(x);
}
#endif