Math::Int64::die_on_overflow(3pm) | User Contributed Perl Documentation | Math::Int64::die_on_overflow(3pm) |
Math::Int64::die_on_overflow - catch overflows when using Math::Int64
use Math::Int64 qw(uint64); use Math::Int64::die_on_overflow; my $number = uint64(2**32); say($number * $number); # overflow error!
Math::Int64.
2022-10-20 | perl v5.36.0 |