I am a perl newbie,
Can I simply use 64-bit arithmetic in Perl?
For example
$operand1 = 0xFFFFFFFFFFFF; # 48 bit value
$operand2 = 0xFFFFFFFFFFFF; # 48 bit value
$Result = $operand1 * $operand2;
Yes, however you need to have Perl compiled with 64-bit support.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With