Staredit Network Profile-Scene MNeox basic
Profile for MNeox
Send me a Message
Find my Posts
Find my Topics

Last visitors

Account Information
Joined: Aug 28 2007, 5:47 pm
Last Active: Aug 6 2011, 6:48 am
Status: Offline
Display Name: MNeox

Activity: 326
Posts: 370
Posts Per Day: 0.14
Topics: 20
Minerals: 0

Contact Information
E-Mail: Lewl coming soon // No spambots
Starcraft I: Not Given.
Starcraft II: Not Given.

[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]