Mercurial > hg > octave-nkf
diff scripts/general/mod.m @ 9051:1bf0ce0930be
Grammar check TexInfo in all .m files
Cleanup documentation sources to follow a few consistent rules.
Spellcheck was NOT done. (but will be in another changeset)
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Fri, 27 Mar 2009 22:31:03 -0700 |
parents | eb63fbe60fab |
children | c1fff751b5a8 |
line wrap: on
line diff
--- a/scripts/general/mod.m +++ b/scripts/general/mod.m @@ -18,14 +18,14 @@ ## -*- texinfo -*- ## @deftypefn {Mapping Function} {} mod (@var{x}, @var{y}) -## Compute modulo function. Conceptually this is given by +## Compute modulo function. Conceptually this is given by ## ## @example ## x - y .* floor (x ./ y) ## @end example ## ## and is written in a manner that the correct modulus is returned for -##integer types. This function handles negative values correctly. That +##integer types. This function handles negative values correctly. That ##is @code{mod (-1, 3)} is 2, not -1 as @code{rem (-1, 3)} returns. ## Also, @code{mod (@var{x}, 0)} returns @var{x}. ##