patch-2.4.20 linux-2.4.20/arch/mips/math-emu/dp_flong.c
Next file: linux-2.4.20/arch/mips/math-emu/dp_frexp.c
Previous file: linux-2.4.20/arch/mips/math-emu/dp_div.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Thu Nov 28 15:53:10 2002
- Orig file:
linux-2.4.19/arch/mips/math-emu/dp_flong.c
- Orig date:
Fri Apr 13 20:26:07 2001
diff -urN linux-2.4.19/arch/mips/math-emu/dp_flong.c linux-2.4.20/arch/mips/math-emu/dp_flong.c
@@ -27,7 +27,7 @@
#include "ieee754dp.h"
-ieee754dp ieee754dp_flong(long long x)
+ieee754dp ieee754dp_flong(s64 x)
{
COMPXDP;
@@ -67,9 +67,9 @@
DPNORMRET1(xs, xe, xm, "dp_flong", x);
}
-ieee754dp ieee754dp_fulong(unsigned long long u)
+ieee754dp ieee754dp_fulong(u64 u)
{
- if ((long long) u < 0)
+ if ((s64) u < 0)
return ieee754dp_add(ieee754dp_1e63(),
ieee754dp_flong(u & ~(1ULL << 63)));
return ieee754dp_flong(u);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)