Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
People claim that optimizing compilers are good and that we no longer have to write things in assembler for speed
People claim that optimizing compilers are good and that we no longer have to write things in assembler for speed, but my compiler can't even replace i/=2 with a shift.
✍: Guest
A: Was i signed or unsigned? If it was signed, a shift is not equivalent (hint: think about the result if i is negative and odd), so the compiler was correct not to use it.
2015-02-06, 1729👍, 0💬
Popular Posts:
Can you explain Forms authentication in detail ? In old ASP if you where said to create a login page...
What is the purpose of the wait(), notify(), and notifyAll() methods? The wait(),notify(), and notif...
What print out will the folloging code produce? main() { char *p1=“name”; char *p2; p2=(char*)malloc...
What’ is the sequence in which ASP.NET events are processed ? Following is the sequence in which the...
In C#, what is a weak reference? Generally, when you talk about a reference to an object in .NET (an...