diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-20 16:47:00 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-20 16:47:00 -0600 |
commit | 2df579558e8edd557fe91de7af898185d479124f (patch) | |
tree | 36de476dabc940e3125ec039e81d4150eb63063e /nuttx/libc/math | |
parent | 566f0495d8401cdaf7fc8bc69bb32fe5a19b2e0e (diff) | |
download | nuttx-2df579558e8edd557fe91de7af898185d479124f.tar.gz nuttx-2df579558e8edd557fe91de7af898185d479124f.tar.bz2 nuttx-2df579558e8edd557fe91de7af898185d479124f.zip |
More NxWM build fixes
Diffstat (limited to 'nuttx/libc/math')
-rw-r--r-- | nuttx/libc/math/lib_atan2.c | 2 | ||||
-rw-r--r-- | nuttx/libc/math/lib_atan2f.c | 2 | ||||
-rw-r--r-- | nuttx/libc/math/lib_atan2l.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/libc/math/lib_atan2.c b/nuttx/libc/math/lib_atan2.c index 5f4a6bff0..4255214fe 100644 --- a/nuttx/libc/math/lib_atan2.c +++ b/nuttx/libc/math/lib_atan2.c @@ -64,7 +64,7 @@ double atan2(double y, double x) { return M_PI_2; } - else if (y == 0 && x == 0) /* Undefined but returns normally 0 */ + else /* if (y == 0 && x == 0) Undefined but returns normally 0 */ { return 0; } diff --git a/nuttx/libc/math/lib_atan2f.c b/nuttx/libc/math/lib_atan2f.c index 999edd6ee..8e7d9cea9 100644 --- a/nuttx/libc/math/lib_atan2f.c +++ b/nuttx/libc/math/lib_atan2f.c @@ -60,7 +60,7 @@ float atan2f(float y, float x) { return M_PI_2; } - else if (y == 0 && x == 0) /* Undefined but returns normally 0 */ + else /* if (y == 0 && x == 0) Undefined but returns normally 0 */ { return 0; } diff --git a/nuttx/libc/math/lib_atan2l.c b/nuttx/libc/math/lib_atan2l.c index 1946a3f04..5ea4616be 100644 --- a/nuttx/libc/math/lib_atan2l.c +++ b/nuttx/libc/math/lib_atan2l.c @@ -64,7 +64,7 @@ long double atan2l(long double y, long double x) { return M_PI_2; } - else if (y == 0 && x == 0) /* Undefined but returns normally 0 */ + else /* if (y == 0 && x == 0) Undefined but returns normally 0 */ { return 0; } |