(_FP_FRAC_SRS_2): Fix computation of sticky bit.
authordrepper <drepper>
Mon, 16 Oct 2000 18:15:50 +0000 (18:15 +0000)
committerdrepper <drepper>
Mon, 16 Oct 2000 18:15:50 +0000 (18:15 +0000)
soft-fp/op-2.h

index ad3fbc5..45bae63 100644 (file)
@@ -79,7 +79,8 @@
     else                                                               \
       {                                                                        \
        X##_f0 = (X##_f1 >> ((N) - _FP_W_TYPE_SIZE) |                   \
-                 (((X##_f1 << (sz - (N))) | X##_f0) != 0));            \
+                 (((X##_f1 << (2*_FP_W_TYPE_SIZE - (N))) |             \
+                   X##_f0) != 0));                                     \
        X##_f1 = 0;                                                     \
       }                                                                        \
   } while (0)