» Binary Operators
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Binary Operators

plugin plugin math
Credits: jens.a.e

about

If you know how to use << >> & | ~ ^ on values, this is for you. If you do not know: these operate on the binary values of the data directly and therefor speed up things sometimes with the cost of being more complicated to code - e.g. division by 2 on an integer (not a float or double) maps to

value >> 1

I missed them sparsely, so i made a quick and rough implementation.

You can also get LeastSignificantBytes (LSB) and MostSignificantBytes (MSB) from numerical values, for e.g. building MIDI messages i a patch more easly.
It also includes a re-implemetaion of "Bit", named "Fastbit" using shifting and being spreadable.

Nodenames: BitAND, BitOR, BitXOR, BitNOT, FastBit, LSB, MSB, LSB+MSB

Any bugs, issues and feature requests should be posted at https://github.com/jens-a-e/V4BitwiseOperators/issues or here.

Get it the source here https://github.com/jens-a-e/V4BitwiseOperators

P.S.: I know, providing a help patch is next on the list.

download

BitwiseOps.zip
30.10.11 [17:26 UTC] by jens.a.e | 697 downloads

West 07/11/2011 - 13:58

Thank you for fast bit, this is more dynamic than the one I build from Radix nodes. Any clever way to build a reversed version?

I had to put MSBandLSB.dll in the Bin directory to make this work, is the plugin folder not a better option?

anonymous user login

Shoutbox

~21h ago

domj: Stuck in your patching or eager to share what you made or came across? Join Midweek Patch Therapy at 17:30 https://therapy.domj.net/

~1d ago

david: vvvv meetup 3. new stream link. again youtube made us nuts.. please send everybody to https://youtu.be/pa3HRQ7kj6w

~2d ago

joreg: Reminder: Join us this evening, 8pm CET for the 3rd worldwide #vvvv meetup: 3.-worldwide-vvvv-meetup

~2d ago

sinus: @evvvvil: very impressive stuff! keep on marching the rays!You´ll never walk alone!

~3d ago

evvvvil: @mediadog, thankx for pointing it out broski. Wicked.

~4d ago

domj: Catching up with the Midweek Patch Therapy excerpts, expect more videos over the week. https://youtu.be/36r8LnHaS7g

~4d ago

mediadog: @evvvvil hey you made the webgl-dev-list cool stuff list: http://gfxprose.blogspot.com/2020/05/cool-webgl-stuff-2020-05-21.html

~5d ago

evvvvil: Yo I'm live doing a VJ set made in vvvv for OUTLINE demoparty with OddJohn DJing! Come see us play here: https://www.twitch.tv/outlinedemoparty/

~7d ago

domj: A blast to read with great references. Thoughts on how to make programming more learnable and understandable. http://worrydream.com/LearnableProgramming/

~7d ago

gegenlicht: @evvvvil damn. - missed it. Such unique styles, others would create 1000 twitter loops from one of ur sessions. :3 #bobrossmarch