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

Binary Operators

Credits: jens.a.e


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.


30.10.11 [17:26 UTC] by jens.a.e | 802 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


~9h ago

beyon: tekcor: no, but I have a old Roland DXY-980 plotter depending on your needs

~2d ago

tekcor: Hey, does someone has an AxisDraw V3/A3 for sale?

~7d ago

nanotekt: vvvv+blender=lovvvve :D https://youtu.be/dUyeoi9mBIc

~7d ago

Patxi7: Pepper's Ghost & vvvv https://vimeo.com/632159133

~12d ago

mediadog: @manuelgonzalvez Needed to explicitly install VLC for VLC2; I use 3.0.6-win64 for stability.

~12d ago

mediadog: @manuelgonzalvez 42 getting crashes from DX11 VLC lib after last Win10 update. Switched to VLC2 plugin OK so far.

~14d ago

sunep: Looks interesting. Can't find a price though https://en.ids-imaging.com/ensenso-3d-camera-s-series.html

~24d ago

joreg: @guest re svg export: i'm afraid not.

~24d ago

joreg: @manuelgonzalvez what's stopping you? now is the time!

~24d ago

joreg: @schlonzo glad you like it!