Math::I...verflow(3)

okay so bestie, this page is from the User Contributed Perl Documentation and the manual you're looking at is literally Math::I...verflow(3) πŸ’–. It's short, it's sweet, and it's very much giving "one job, done flawlessly."

🌸 NAME 🌸

Math::Int64::die_on_overflow β€” catch overflows when using Math::Int64 πŸ’…

✨ SYNOPSIS ✨

use Math::Int64 qw(uint64);
use Math::Int64::die_on_overflow;

my $number = uint64(2**32);
say($number * $number); # overflow error!

So you load both modules, make your uint64, do the multiplication, and boom β€” overflow error! That's the whole vibe, no cap ✨.

πŸ¦‹ SEE ALSO πŸ¦‹

Math::Int64.


mwah πŸ’‹ and that's periodt β€” this little icon is from perl v5.42.0, dated 2024-03-08. 🫢

πŸ“¦ where this page comes from