modulus – A non-destructive modulus and integer quotient operator for TeX
The package provides an easy way to take the remainder of a division operation without destroying the values of the counters containing the dividend and divisor. Also provides a way to take the integer quotient of a division operation without destroying the values of the counters containing the dividend and divisor. A tiny but occasionally useful package, when doing heavy TeX programming.
|Licenses||The LaTeX Project Public License 1.3c|
|Copyright||2018 Donald P. Goodman|
|Maintainer||Donald P. Goodman|
|Contained in||TeX Live as modulus|
MiKTeX as modulus
Download the contents of this package in one zip archive (173.4k).
Maybe you are interested in the following packages as well.
- trigonometry: Demonstration code for cos and sin in TeX macros
- xint: Expandable operations on long numbers
- minifp: Fixed-point real computations to 8 decimals
- random: Generating “random” numbers in TeX