summaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/dp_tint.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/math-emu/dp_tint.c')
-rw-r--r--arch/mips/math-emu/dp_tint.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/mips/math-emu/dp_tint.c b/arch/mips/math-emu/dp_tint.c
index 8c39a40d7fe9..1270009aee9b 100644
--- a/arch/mips/math-emu/dp_tint.c
+++ b/arch/mips/math-emu/dp_tint.c
@@ -106,16 +106,3 @@ int ieee754dp_tint(union ieee754dp x)
else
return xm;
}
-
-
-unsigned int ieee754dp_tuns(union ieee754dp x)
-{
- union ieee754dp hb = ieee754dp_1e31();
-
- /* what if x < 0 ?? */
- if (ieee754dp_lt(x, hb))
- return (unsigned) ieee754dp_tint(x);
-
- return (unsigned) ieee754dp_tint(ieee754dp_sub(x, hb)) |
- ((unsigned) 1 << 31);
-}