summaryrefslogtreecommitdiff
path: root/src/math/ceilf.c
diff options
context:
space:
mode:
authornsz <nsz@port70.net>2012-03-29 14:09:57 +0200
committernsz <nsz@port70.net>2012-03-29 14:09:57 +0200
commit7eabe8e69044e3683376165934a17210b6b148b9 (patch)
tree8c5c8be0860bb475a8075c54fe6cb86124b2753e /src/math/ceilf.c
parentd79ac8c38f3992b4547d155f5c8e612f51d9b32e (diff)
downloadmusl-7eabe8e69044e3683376165934a17210b6b148b9.tar.gz
math: minor cleanups in ceil and floor
Diffstat (limited to 'src/math/ceilf.c')
-rw-r--r--src/math/ceilf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/math/ceilf.c b/src/math/ceilf.c
index d22688a7..fec945b6 100644
--- a/src/math/ceilf.c
+++ b/src/math/ceilf.c
@@ -28,7 +28,6 @@ float ceilf(float x)
if (j0 < 0) {
/* raise inexact if x != 0 */
if (huge+x > 0.0f) {
- /* return 0*sign(x) if |x|<1 */
if (i0 < 0)
i0 = 0x80000000;
else if(i0 != 0)