patch-2.4.20 linux-2.4.20/arch/mips/math-emu/sp_flong.c
Next file: linux-2.4.20/arch/mips/math-emu/sp_frexp.c
Previous file: linux-2.4.20/arch/mips/math-emu/sp_fint.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Thu Nov 28 15:53:10 2002
- Orig file:
linux-2.4.19/arch/mips/math-emu/sp_flong.c
- Orig date:
Fri Apr 13 20:26:07 2001
diff -urN linux-2.4.19/arch/mips/math-emu/sp_flong.c linux-2.4.20/arch/mips/math-emu/sp_flong.c
@@ -27,7 +27,7 @@
#include "ieee754sp.h"
-ieee754sp ieee754sp_flong(long long x)
+ieee754sp ieee754sp_flong(s64 x)
{
COMPXDP; /* <--- need 64-bit mantissa temp */
@@ -52,7 +52,7 @@
xe = SP_MBITS + 3;
if (xm >> (SP_MBITS + 1 + 3)) {
- /* shunt out overflow bits
+ /* shunt out overflow bits
*/
while (xm >> (SP_MBITS + 1 + 3)) {
SPXSRSX1();
@@ -68,9 +68,9 @@
}
-ieee754sp ieee754sp_fulong(unsigned long long u)
+ieee754sp ieee754sp_fulong(u64 u)
{
- if ((long long) u < 0)
+ if ((s64) u < 0)
return ieee754sp_add(ieee754sp_1e63(),
ieee754sp_flong(u & ~(1ULL << 63)));
return ieee754sp_flong(u);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)