由网友(不正经草莓)分享简介:我是一个Perl的新手,I am a perl newbie,我可以简单地使用64位运算在Perl?Can I simply use 64-bit arithmetic in Perl?例如$operand1 = 0xFFFFFFFFFFFF; # 48 bit value$operand2 = 0xF...
我是一个Perl的新手,
I am a perl newbie,
我可以简单地使用64位运算在Perl?
Can I simply use 64-bit arithmetic in Perl?
例如
$operand1 = 0xFFFFFFFFFFFF; # 48 bit value
$operand2 = 0xFFFFFFFFFFFF; # 48 bit value
$Result = $operand1 * $operand2;
我基本上找 替代Perl中的int64_t。 有什么办法说,如果 变量符号或无符号?
I am basically looking for a replacement for the int64_t in perl. Is there any way to mention, if the variable is signed or unsigned?
推荐答案
是的,但你需要有Perl,以支持64位编译。
Yes, however you need to have Perl compiled with 64-bit support.
相关推荐
最新文章