cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 20 Jun 2015 03:49 AM |
I wrote a bit library pretty recently and I really only tested a couple things, and not even thoroughly. This isn't the most efficient way to do bit stuff but it's a way that doesn't "really" rely on crazy bit hacks so people can (more or less) understand most everything. It's pretty straightforward, kinda how you would do it on pen and paper.
http://www.roblox.com/CntKillMes-Bit-Module-item?id=260555459
|
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 20 Jun 2015 03:54 AM |
| I can't be bothered to get out of bed, and I have to open RStudio to do it :( |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 20 Jun 2015 04:00 AM |
Here you go: pastebin/U1ENPBmx |
|
|
| Report Abuse |
|
|
|
| 20 Jun 2015 04:06 AM |
| On my phone but I'll look at the link. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 20 Jun 2015 04:10 AM |
| To see if you get valid results: binaryconvert dot com |
|
|
| Report Abuse |
|
|
Mechords
|
  |
| Joined: 25 Dec 2014 |
| Total Posts: 714 |
|
|
| 20 Jun 2015 04:43 AM |
question
why ; end statements when that sorta thing (excluding structs) usually isn't done that way in c/c++ |
|
|
| Report Abuse |
|
|
| |
|
Mechords
|
  |
| Joined: 25 Dec 2014 |
| Total Posts: 714 |
|
|
| 20 Jun 2015 04:44 AM |
| but its not how its done in C (presumably where you'd build these habits from) |
|
|
| Report Abuse |
|
|
|
| 20 Jun 2015 05:06 AM |
C does have ; but it's not a habit
Habit: Spaces/tabs Variable case
Not habits: ; Parentheses |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 20 Jun 2015 05:36 AM |
Mech, it's valid, end of variable definition. And BothAngles, I assure you it's a habit but it's something that I can stop, but I see no point.
Stop talking about my "scripting" type please, thanks. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 20 Jun 2015 10:47 PM |
Bump, I wonder if anyone actually bothered testing any of this -.- I tested about 10 more functions, not thoroughly ofc. |
|
|
| Report Abuse |
|
|