Warcraft III resources & community, 2003–2006 · archived

BitwiseRight

not rated
Submitted by Aiursrage2kVariable Change0 downloads
Bitwise rightshift. Requires CountBits function.

Source

function BitwiseRight takes integer val, integer shift, returns integer
    return val / R2I(Pow(2, shift))
endfunction

Comments

0

No comments.