perl5.001 patch.1f
[p5sagit/p5-mst-13.2.git] / pod / modpods / integer.pod
CommitLineData
a0d0e21e 1=head1 NAME
2
3integer - Perl pragma to compute arithmetic in integer instead of double
4
5=head1 SYNOPSIS
6
7 use integer;
8 $x = 10/3;
9 # $x is now 3, not 3.33333333333333333
10
11=head1 DESCRIPTION
12
13This tells the compiler that it's okay to use integer operations
14from here to the end of the enclosing BLOCK. On many machines,
15this doesn't matter a great deal for most computations, but on those
16without floating point hardware, it can make a big difference.
17
18See L<perlmod/Pragmatic Modules>.