patch-2.4.22 linux-2.4.22/arch/mips/math-emu/sp_sub.c
Next file: linux-2.4.22/arch/mips/mips-boards/atlas/atlas_int.c
Previous file: linux-2.4.22/arch/mips/math-emu/sp_sqrt.c
Back to the patch index
Back to the overall index
-  Lines: 15
-  Date:
2003-08-25 04:44:40.000000000 -0700
-  Orig file: 
linux-2.4.21/arch/mips/math-emu/sp_sub.c
-  Orig date: 
2002-11-28 15:53:10.000000000 -0800
diff -urN linux-2.4.21/arch/mips/math-emu/sp_sub.c linux-2.4.22/arch/mips/math-emu/sp_sub.c
@@ -167,12 +167,12 @@
 			xe = xe;
 			xs = ys;
 		}
-		if (xm == 0)
+		if (xm == 0) {
 			if (ieee754_csr.rm == IEEE754_RD)
 				return ieee754sp_zero(1);	/* round negative inf. => sign = -1 */
 			else
 				return ieee754sp_zero(0);	/* other round modes   => sign = 1 */
-
+		}
 		/* normalize to rounding precision
 		 */
 		while ((xm >> (SP_MBITS + 3)) == 0) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)