Right shift (Division) -> ROUND TOWARD ZERO

Posted by RealHIFIDude on Stack Overflow See other posts from Stack Overflow or by RealHIFIDude
Published on 2009-09-23T02:57:20Z Indexed on 2010/03/31 19:13 UTC
Read the original article Hit count: 191

Filed under:
|

I am doing this..

value >> 3;

It is always going toward negative side.How do I round toward zero with right shift division?

© Stack Overflow or respective owner

Related posts about c

    Related posts about bitwise