-
-
[求助]非相临表示问题
-
发表于:
2011-3-30 15:23
4033
-
宽4里那个7和5怎麽算的?
N:=1122334455;
Ilog2(N);
IntegerToString(N);
N:Hex;
30
1122334455
0x42E576F7
1000010111001010111011011110111
NAF2(N)=
1000010111001010111011011110111
100001011100101011101101111100-1
100001011100101011101110000-100-1
1000010111001010111100-10000-100-1
1000010111001011000-100-10000-100-1
10000101110010-1000-100-10000-100-1
100001100-10010-1000-100-10000-100-1
100010-100-10010-1000-100-10000-100-1
NAF4(N):
w=4,ki=8
100010-/100-10010-/1000-100-1/0000-100-1
k0:=N mod 16;
k0;------------------------7
k1:=(N-k0) mod 16;
k1;-------------------------0
k3=0 ----------------?
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!