summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-03-15 23:46:17 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-03-15 23:46:17 +0000
commit4a659b7e8eb8cc7dfc3e2f50885190f525d86104 (patch)
tree564ab701f6af4dcafcfefc72a09330435d19ecbc /arch
parent735ded397e38ed253918d3484c5ea4f5c6ce2434 (diff)
Add braces to make code less ambiguous.
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/math-emu/dp_sub.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/math-emu/dp_sub.c b/arch/mips/math-emu/dp_sub.c
index 198e56098..a56d352fc 100644
--- a/arch/mips/math-emu/dp_sub.c
+++ b/arch/mips/math-emu/dp_sub.c
@@ -176,11 +176,12 @@ ieee754dp ieee754dp_sub(ieee754dp x, ieee754dp y)
xe = xe;
xs = ys;
}
- if (xm == 0)
+ if (xm == 0) {
if (ieee754_csr.rm == IEEE754_RD)
return ieee754dp_zero(1); /* round negative inf. => sign = -1 */
else
return ieee754dp_zero(0); /* other round modes => sign = 1 */
+ }
/* normalize to rounding precision
*/