Neal Norwitz  committed 2c1fe76

Backport of rev 43312:

SF bug # 1457358 and patch # 1458419, floor division not documented. Patch by Andy.

  • Participants
  • Parent commits fb481e0
  • Branches 2.4

Comments (0)

Files changed (1)

File Doc/lib/libstdtypes.tex

   \lineiii{\var{x} * \var{y}}{product of \var{x} and \var{y}}{}
   \lineiii{\var{x} / \var{y}}{quotient of \var{x} and \var{y}}{(1)}
+  \lineiii{\var{x} // \var{y}}{(floored) quotient of \var{x} and \var{y}}{(5)}
   \lineiii{\var{x} \%{} \var{y}}{remainder of \code{\var{x} / \var{y}}}{(4)}
   \lineiii{-\var{x}}{\var{x} negated}{}
 \deprecated{2.3}{Instead convert to float using \function{abs()}
 if appropriate.}
+Also referred to as integer division.  The resultant value is a whole integer,
+though the result's type is not necessarily int.
 % XXXJH exceptions: overflow (when? what operations?) zerodivision