Staredit Network Critical Error

The action you have performed caused an Error
Error(s) returned:
This site does not exist.

Go Back
Go to Portal
[03:33 am]
poiuy_qwert -- to wrap a byte 's' bits
[03:33 am]
jjf28 -- perhaps there's a standard lib function somewhere for it
[03:32 am]
poiuy_qwert -- ((a & (2**s-1)) << (8-s)) | (a >> s)
[03:32 am]
jjf28 -- why are you rotating bits? :P
[03:32 am]
O)FaRTy1billion[MM] -- hey why doesn't C have an easy way to rotate bits? I never thought about that
[03:31 am]
jjf28 -- i like poiuy's, if you can remember it :) pretty much just takes the same algorithm into 1 line (and the numbers he used are for 8-bit numbers)
[03:27 am]
jjf28 -- just tells you if the bit you're about to lose is set
[03:27 am]
Dem0n -- and what are you checking with it?
[03:27 am]
Dem0n -- what does wrapBit do?
Please log in to shout.


Members Online: jjf28, Roy, 09xela, poiuy_qwert, O)FaRTy1billion[MM]