Does c have circular shift operators, Computer Engineering

No C don't have circular shift operator. (Part of the reason why that is the sizes of C's types aren't precisely described----but a circular shift makes most sense when applied to a word of a particular known size.)

You can execute a circular shift using two regular shifts and a bitwise OR:

(x << 13) | (x > >3) /* circular shift left 13 in 16 bits */      

 

 

Posted Date: 4/8/2013 3:10:43 AM | Location : United States







Related Discussions:- Does c have circular shift operators, Assignment Help, Ask Question on Does c have circular shift operators, Get Answer, Expert's Help, Does c have circular shift operators Discussions

Write discussion on Does c have circular shift operators
Your posts are moderated
Related Questions
The Environment variable SCRIPT_NAME in CGI script specifies? In CGI script gives the path of URL after server name.

Somehow, the worksheet has external links to files that are no longer around. How can we delete the links? Ans) This happens all of the time to MrExcel. I downloaded a little

Explain dataflow computation model An option to the von Neumann model of computation is a dataflow computation model. In a dataflow model the control is tied to the flow of dat

Granularity Granularity refers to the quantity of computation done in parallel relative to the dimension of the entire program. In parallel computing, granularity is a qualitat

What are the four types of consumer oriented applications of E-commerce? Discuss them briefly. Four types of Consumer Oriented applications in E-Commerce are as follows: 1

Q. Computation step in time complexity of an algorithm? So First in the computation step the local processor executes an arithmetic and logic operation. Afterwards the several

Super scalar architecture Pentium microprocessor is organized with three execution units. One executes floating-point instructions and other two (U-pipe and V-pipe) execute in

What are controls? How to use them? Give examples for control. Controls are objects that can be placed in a form. The dissimilar controls are available in the Tool Box. After

Explain the term Progressive Control. Progressive Control: Step by step system is an illustration of progressive control. The connection is established in stages, in respo

Find out how many words can be formed out of the letters of the word DAUGHTER such that (i)  The vowels are all time together. (ii)  The vowels occupy even places.   Ans: