Max Gen bitwise operator
I've been a long-time Reaktor user, and its Core level has integer types that support bitwise operators. This is especially important for things like ByteBeat. However, I've noticed that Max Gen lacks these bitwise operators. Why is that?
i am not sure if that answers the question in your sense, but one "reason" is (probably) that non-MSP gen is also float-only.
so while it would be technically possible (or almost/across 99% of the range), & or >> would not make too much sense (for most eyes looking at it.)
afaik you have no other chance than to mimick them using operators such as %, /, and floor.
watch out for the right sign when the input is negative...
The question has of course come up before, and was also something we considered from the beginning, because there are some cases where it would be useful. However there are a lot of subtleties than make it not quite as simple to do as it may appear. Desired, yes, but a prior discussion with some of the problem nuances here, if that helps:
Graham Wakefield, thank you for your reply!
This post is a bit old, and I've seen it before. To be honest, I know Max has objects that can handle bitwise operations, such as bitand~ or bitshift~, but I would prefer that gen has them internally.