Salvador Fandiño García > Math-Int64-0.29 > Math::Int64::die_on_overflow

Download:
Math-Int64-0.29.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source   Latest Release: Math-Int64-0.32

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!

SEE ALSO ^

Math::Int64.

COPYRIGHT AND LICENSE ^

Copyright © 2011 by Salvador Fandiño (sfandino@yahoo.com)

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: