Forum

> > Off Topic > Do bitwise-shifts need RTL support in C++?
Forums overviewOff Topic overviewLog in to reply

English Do bitwise-shifts need RTL support in C++?

2 replies
To the start Previous 1 Next To the start

old Do bitwise-shifts need RTL support in C++?

DannyDeth
User Off Offline

Quote
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.

old Re: Do bitwise-shifts need RTL support in C++?

Lee
Moderator Off Offline

Quote
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.
To the start Previous 1 Next To the start
Log in to replyOff Topic overviewForums overview