From 75c95457ede503b3f383c3e2df41239981221c06 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 26 Jan 2015 18:55:17 -0600 Subject: Cosmetic --- nuttx/libc/math/lib_copysign.c | 1 + nuttx/libc/math/lib_copysignf.c | 1 + nuttx/libc/math/lib_copysignl.c | 1 + 3 files changed, 3 insertions(+) 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 -- cgit v1.2.3