The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
=begin pod

=TITLE class Int

    class Int is Cool does Real { ... }

C<Int> objects store integral numbers of arbitrary size. C<Int>s are immutable.

There are two main syntax forms for C<Int> literals

    123         # Int in decimal notation
    :16<BEEF>   # Int in radix notations

Both forms allow underscores between any two digits which can serve as visual
separators, but don't carry any meaning:

    5_00000     # five Lakhs
    500_000     # five hundred thousand

=head1 Methods

=head2 chr

    multi sub    chr(Int:D ) returns Str:D
    multi method chr(Int:D:) returns Str:D

Returns a one-character string, by interpreting the integer as a Unicode
codepoint number and converting it the corresponding character.

=head1 Operators

=head2 div

    multi sub infix:<div>(Int:D, Int:D) returns Int:D

Does an integer division, rounded down.

=end pod