X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fmath-emu%2Fop-common.h;h=93780abd01bc60a4d23e09f90f90a684de2ebe52;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=8c54bf6b956cbc2477b7c8d8fa300b9007b35f89;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/include/math-emu/op-common.h b/include/math-emu/op-common.h index 8c54bf6b9..93780abd0 100644 --- a/include/math-emu/op-common.h +++ b/include/math-emu/op-common.h @@ -769,9 +769,9 @@ do { \ X##_c = FP_CLS_NORMAL; \ \ if ((X##_s = (r < 0))) \ - r = -r; \ - \ - ur_ = (unsigned rtype) r; \ + ur_ = (unsigned rtype) -r; \ + else \ + ur_ = (unsigned rtype) r; \ if (rsize <= _FP_W_TYPE_SIZE) \ __FP_CLZ(X##_e, ur_); \ else \