aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/ieee754dp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/math-emu/ieee754dp.c')
-rw-r--r--arch/mips/math-emu/ieee754dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/math-emu/ieee754dp.c b/arch/mips/math-emu/ieee754dp.c
index 50b1fbf753f4..d9ceb6bd3536 100644
--- a/arch/mips/math-emu/ieee754dp.c
+++ b/arch/mips/math-emu/ieee754dp.c
@@ -40,7 +40,7 @@ int ieee754dp_isnan(union ieee754dp x)
40 return ieee754dp_class(x) >= IEEE754_CLASS_SNAN; 40 return ieee754dp_class(x) >= IEEE754_CLASS_SNAN;
41} 41}
42 42
43int ieee754dp_issnan(union ieee754dp x) 43static inline int ieee754dp_issnan(union ieee754dp x)
44{ 44{
45 assert(ieee754dp_isnan(x)); 45 assert(ieee754dp_isnan(x));
46 return ((DPMANT(x) & DP_MBIT(DP_FBITS-1)) == DP_MBIT(DP_FBITS-1)); 46 return ((DPMANT(x) & DP_MBIT(DP_FBITS-1)) == DP_MBIT(DP_FBITS-1));