![]() |
|
|
|
#1 |
|
In the following code what does >> represent?
{ do { a = In1; b = In2; }until (start); t1 = mod(a); t2 = mod(b); x = max(t1,t2); y = min(t1,t2); t3 = x >> 3; t4 = y >> 1; ... ... } I`m not bothered about the purpose of the code but what does "t3 = x >> 3" mean? Is t3 = 1 when x > 3 and t3 = 0 when x < 3? Thanks, p.s. quick response please I have an exam on this subject very soon!!! Simon.Tiplady@gmail.com |
|
|
|
|
#2 |
|
Posts: n/a
|
Oops silly me, its just a shift function.
x>>3 shifts the binary complement number 3 to the right y>>1 shifts 1 position to the right Simon Simon.Tiplady@gmail.com |
|
|
|
#3 |
|
Posts: n/a
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Easy question about pc freeze | Talofa | General Help Related Topics | 3 | 02-06-2009 04:19 AM |
| Re: Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good | God | DVD Video | 3 | 04-25-2005 04:19 PM |
| Re: Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good | Filthy Mcnasty | DVD Video | 0 | 04-25-2005 04:29 AM |
| Press Release - Visual CertExam Suite Makes It Easy to Create and Take Professional Practice Tests | David Johnson | A+ Certification | 0 | 10-19-2004 05:03 PM |
| Newbie -> Easy question I am sure | Sean Berry | DVD Video | 4 | 07-17-2004 06:04 PM |