Error-free computation with rational numbers

A method is described for doing error-free computation when the operands are rational numbers. A rational operanda/b is mapped onto the integer ¦a·b−1¦p and the arithmetic is performed inGF(p). A method is given for taking an integer result and finding its rational equivalent (the one which corresponds to the correct rational result).