int dx,j,ax;
....
j = dx < 0 ? -1 : 0;
ax = (dx ^ j) - j;
为什么要这么写ax的赋值语句?试验证明比常规的
j=dx<0?-1:0;
ax=ax<0?-ax:ax;
慢啊