Re:Low Level Bit Hacks You Absolutely Must Know
by slededit on Saturday May 12, 2018 @12:21AM
(#17052453)
I still stick by my original point that:
((int)dblval) & flag
would require serious justification in a C code review. In JS its all you have. Under those restrictions I'd use it as rarely as possible. But yes you can use it correctly if you try.
((int)dblval) & flag
would require serious justification in a C code review. In JS its all you have. Under those restrictions I'd use it as rarely as possible. But yes you can use it correctly if you try.