summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-26 18:55:17 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-26 18:55:17 -0600
commit75c95457ede503b3f383c3e2df41239981221c06 (patch)
tree1e90a0299fe44abb5457d62f26d61dc91cbb3668
parentbacbb4255c9408e3ce669563f2fb1d4067947c1a (diff)
downloadnuttx-75c95457ede503b3f383c3e2df41239981221c06.tar.gz
nuttx-75c95457ede503b3f383c3e2df41239981221c06.tar.bz2
nuttx-75c95457ede503b3f383c3e2df41239981221c06.zip
Cosmetic
-rw-r--r--nuttx/libc/math/lib_copysign.c1
-rw-r--r--nuttx/libc/math/lib_copysignf.c1
-rw-r--r--nuttx/libc/math/lib_copysignl.c1
3 files changed, 3 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
diff --git a/nuttx/libc/math/lib_copysignf.c b/nuttx/libc/math/lib_copysignf.c
index 6eb63e148..0d12640cc 100644
--- a/nuttx/libc/math/lib_copysignf.c
+++ b/nuttx/libc/math/lib_copysignf.c
@@ -53,5 +53,6 @@ float copysignf(float x, float y)
{
return -fabsf(x);
}
+
return fabsf(x);
}
diff --git a/nuttx/libc/math/lib_copysignl.c b/nuttx/libc/math/lib_copysignl.c
index 29c145a72..3a49713b5 100644
--- a/nuttx/libc/math/lib_copysignl.c
+++ b/nuttx/libc/math/lib_copysignl.c
@@ -54,6 +54,7 @@ long double copysignl(long double x, long double y)
{
return -fabsl(x);
}
+
return fabsl(x);
}
#endif