*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> perl5/integer (3)              
Title
Content
Arch
Section
 

Contents


integer(3)							    integer(3)


NAME    [Toc]    [Back]

     integer - Perl pragma to compute arithmetic in integer instead of double

SYNOPSIS    [Toc]    [Back]

	 use integer;
	 $x = 10/3;
	 # $x is now 3,	not 3.33333333333333333

DESCRIPTION    [Toc]    [Back]

     This tells	the compiler that it's okay to use integer operations from
     here to the end of	the enclosing BLOCK.  On many machines,	this doesn't
     matter a great deal for most computations,	but on those without floating
     point hardware, it	can make a big difference.

     See the section on	Pragmatic Modules in the perlmod manpage.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
subs IRIX Perl pragma to predeclare sub names
constant IRIX Perl pragma to declare constants
less IRIX perl pragma to request less of something from the compiler
strict IRIX Perl pragma to restrict unsafe constructs
ops IRIX Perl pragma to restrict unsafe operations when compiling
sigtrap IRIX Perl pragma to enable simple signal handling
vars IRIX Perl pragma to predeclare global variable names
locale IRIX Perl pragma to use and avoid POSIX locales for built-in operations
amax IRIX BLAS Maximum index functions FORTRAN 77 SYNOPSIS integer function idamax( n, x, incx ) integer incx, n double
diagnostics IRIX Perl compiler pragma to force verbose warning diagnostics splain - standalone program to do the same thing
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service