W
wanderld
Unregistered / Unconfirmed
GUEST, unregistred user!
如何求2的n次方,对于2 shl n,n>31时就无法计算了,如
var k:int64
begin
k:=(1 shl 33);
showmessage(inttostr(k));
end;
结果是2
var k:int64
begin
k:=(1 shl 33);
showmessage(inttostr(k));
end;
结果是2