patch-2.4.19 linux-2.4.19/include/math-emu/op-2.h
Next file: linux-2.4.19/include/math-emu/op-4.h
Previous file: linux-2.4.19/include/math-emu/op-1.h
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Fri Aug 2 17:39:46 2002
- Orig file:
linux-2.4.18/include/math-emu/op-2.h
- Orig date:
Mon Feb 25 11:38:13 2002
diff -urN linux-2.4.18/include/math-emu/op-2.h linux-2.4.19/include/math-emu/op-2.h
@@ -114,6 +114,7 @@
#define _FP_FRAC_NEGP_2(X) ((_FP_WS_TYPE)X##_f1 < 0)
#define _FP_FRAC_ZEROP_2(X) ((X##_f1 | X##_f0) == 0)
#define _FP_FRAC_OVERP_2(fs,X) (_FP_FRAC_HIGH_##fs(X) & _FP_OVERFLOW_##fs)
+#define _FP_FRAC_CLEAR_OVERP_2(fs,X) (_FP_FRAC_HIGH_##fs(X) &= ~_FP_OVERFLOW_##fs)
#define _FP_FRAC_EQ_2(X, Y) (X##_f1 == Y##_f1 && X##_f0 == Y##_f0)
#define _FP_FRAC_GT_2(X, Y) \
(X##_f1 > Y##_f1 || (X##_f1 == Y##_f1 && X##_f0 > Y##_f0))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)