summaryrefslogtreecommitdiff
path: root/nuttx/libc/math/lib_atan2f.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/libc/math/lib_atan2f.c')
-rw-r--r--nuttx/libc/math/lib_atan2f.c2
1 files changed, 1 insertions, 1 deletions
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;
}