Math::Int64::die_on_overflow - catch overflows when using Math::Int64
Contents
Name
Math::Int64::die_on_overflow - catch overflows when using Math::Int64
See Also
Math::Int64.
perl v5.40.0 2024-10-20 Math::Int64::die_on_overflow(3pm)
Synopsis
use Math::Int64 qw(uint64);
use Math::Int64::die_on_overflow;
my $number = uint64(2**32);
say($number * $number); # overflow error!
