How to precisely count using computers.

You can write number in form of fractions of numbers factored into primes.

Then define operations on fractions (for example mutliplication of two fractions is done via multiplications: numerator by numerator and denominator by denominator).

This way we can write precisely large numbers in form of fractions, and if we need to reduce fraction into number we can do it with least number of error-prone operations.

1 comment:

  1. See also: Object Oriented Arbitrary Precision Arithmetics.