Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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