Author: Darren_Duncan
Date: 2010-03-14 01:05:21 +0100 (Sun, 14 Mar 2010)
New Revision: 30065

Modified:
   docs/Perl6/Spec/S03-operators.pod
   docs/Perl6/Spec/S29-functions.pod
Log:
the '%','mod' are the 'modulo' op; 'modulus' is either what you call the result 
besides 'remainder', or it is another name for 'absolute value' op

Modified: docs/Perl6/Spec/S03-operators.pod
===================================================================
--- docs/Perl6/Spec/S03-operators.pod   2010-03-13 23:18:57 UTC (rev 30064)
+++ docs/Perl6/Spec/S03-operators.pod   2010-03-14 00:05:21 UTC (rev 30065)
@@ -771,18 +771,18 @@
 
 =item *
 
-C<< infix:<%> >>, modulus
+C<< infix:<%> >>, modulo
 
     $x % $y
 
 If necessary, coerces non-numeric arguments to an appropriate C<Numeric> type,
-then calculates the modulus, which is defines as:
+then calculates the remainder, which is defines as:
 
     $x % $y == $x - floor($x / $y) * $y
 
 =item *
 
-C<< infix:<mod> >>, generic modulus
+C<< infix:<mod> >>, generic modulo
 
     $x mod $y
 

Modified: docs/Perl6/Spec/S29-functions.pod
===================================================================
--- docs/Perl6/Spec/S29-functions.pod   2010-03-13 23:18:57 UTC (rev 30064)
+++ docs/Perl6/Spec/S29-functions.pod   2010-03-14 00:05:21 UTC (rev 30065)
@@ -798,7 +798,7 @@
 
  $num1 % $num2
 
-Does a floating point modulus operation, i.e. 5.5 % 1 == 0.5 and 5 % 2.5 == 0.
+Does a floating point modulo operation, i.e. 5.5 % 1 == 0.5 and 5 % 2.5 == 0.
 
 =item dbmopen, dbmclose
 

Reply via email to