aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/s_rintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/s_rintf.c')
-rw-r--r--sysdeps/powerpc/s_rintf.c24
1 files changed, 13 insertions, 11 deletions
diff --git a/sysdeps/powerpc/s_rintf.c b/sysdeps/powerpc/s_rintf.c
index b95c0540bf..dde40bb3e5 100644
--- a/sysdeps/powerpc/s_rintf.c
+++ b/sysdeps/powerpc/s_rintf.c
@@ -25,17 +25,19 @@ __rintf (float x)
static const float TWO23 = 8388608.0;
if (fabsf (x) < TWO23)
- if (x > 0.0)
- {
- x += TWO23;
- x -= TWO23;
- }
- else if (x < 0.0)
- {
- x -= TWO23;
- x += TWO23;
- }
-
+ {
+ if (x > 0.0)
+ {
+ x += TWO23;
+ x -= TWO23;
+ }
+ else if (x < 0.0)
+ {
+ x -= TWO23;
+ x += TWO23;
+ }
+ }
+
return x;
}
weak_alias (__rintf, rintf)