Basic HTML version of Foils prepared March 30 97

Foil 14 Arithmetic Operators

From PERL4 Tutorial for CPS616 Computational Science for Information Age Course CPS616 -- February 1995. by Geoffrey C. Fox


1 + Addition as in $x + $y;
2 - Subtraction as in $x - $y;
3 * Multiplication as in $x * $y;
4 / Division as in $x / $y;
5 % Modulus as in $x % $y; # 10%3 is 1 etc.
6 ** Power as in $x**$y;

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Sep 6 1997