vrana           Sun Aug 22 05:45:02 2004 EDT

  Modified files:              
    /phpdoc/en/language operators.xml 
  Log:
  Modulus for negative values (bug #29732)
  
http://cvs.php.net/diff.php/phpdoc/en/language/operators.xml?r1=1.79&r2=1.80&ty=u
Index: phpdoc/en/language/operators.xml
diff -u phpdoc/en/language/operators.xml:1.79 phpdoc/en/language/operators.xml:1.80
--- phpdoc/en/language/operators.xml:1.79       Fri Aug  6 15:26:12 2004
+++ phpdoc/en/language/operators.xml    Sun Aug 22 05:45:01 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.79 $ -->
+<!-- $Revision: 1.80 $ -->
  <chapter id="language.operators">
   <title>Operators</title>
   <simpara>
@@ -224,6 +224,12 @@
     even if the two operands are integers (or strings that get
     converted to integers).
    </simpara>
+   <note>
+    <simpara>
+     Remainder <literal>$a % $b</literal> is negative for negative
+     <literal>$a</literal>.
+    </simpara>
+   </note>
    <simpara>
     See also the manual page on 
     <link linkend="ref.math">Math functions</link>. 

Reply via email to