Off Topic
Do bitwise-shifts need RTL support in C++?
Do bitwise-shifts need RTL support in C++?
2 replies Hi all, just a quick question, are bitwise-shifts part of the RTL or part of the base. I'm asking because I've got a kernel that needs to be finished within the next two days for a challenge with some buddies and my kernel usually takes 6 hours to compile. Even worse: I can't just compile a test because I cannot run the compiled kernel in a virtual environment and the computer ( it's actually the main processing unit for a small robot.. lawlz ) is not with me ATM.
Any ( useful
) answers are much appreciated,
Danny. Lee Moderator
Offline
assuming RTL means right to left
If I remember correctly, I believe C uses leftward association with lower operator precedence than addition but higher than equality testing. If you're unsure, just add parenthesis around the right operand. Thank you, Lee, that was exactly what I meant. I believe I was using the wrong terminology there.. anyway, thanks again.