logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Math::Int128::die_on_overflow - catch overflows when using Math::Int128

Name

       Math::Int128::die_on_overflow - catch overflows when using Math::Int128

See Also

       Math::Int128.

Synopsis

         use Math::Int128 qw(uint128);
         use Math::Int128::die_on_overflow;

         my $number = uint128(2**64);
         say($number * $number); # overflow error!

See Also