mfranz
|
05cc0f3fda
|
add complementary function to bits.string(): bits.value() This is rather
pointless for running fgfs, but can be useful for development and debugging,
and it's just a few lines.
|
2008-10-25 15:03:32 +00:00 |
|
mfranz
|
6371627424
|
bits.string: add optional zero-padding
|
2008-10-23 22:16:32 +00:00 |
|
mfranz
|
97c1ec0ac7
|
set: bugfix (invert test; still faster than the old version :-)
|
2008-10-22 23:27:03 +00:00 |
|
mfranz
|
f5ab1de0b6
|
set/clear: shorter & a few nanoseconds faster
|
2008-10-22 23:04:07 +00:00 |
|
mfranz
|
464d9d3f75
|
add bits.toggle() and bits.switch()
|
2008-10-22 20:56:22 +00:00 |
|
mfranz
|
80215e0731
|
"export" bit vector & cleanup
|
2008-10-22 14:02:58 +00:00 |
|
mfranz
|
6003c3a17d
|
bits.test: remove silly loop
|
2008-10-22 13:26:55 +00:00 |
|
mfranz
|
6d5585ec65
|
restore simple bits functions. Useful for setting/testing boolean values
inr MP transport, and for setting/clearing modifier bits in js config files.
|
2008-10-22 12:49:01 +00:00 |
|
mfranz
|
12412f0a56
|
does no longer work after the nasal update
|
2008-09-29 16:37:23 +00:00 |
|
mfranz
|
78ba60685c
|
some convenience functions for the built-in bits library
|
2008-07-29 17:17:09 +00:00 |
|