CalcGallery

Algebra and numbers

Quadratics, exponents, roots, logarithms, primes, remainders, significant figures, fractions, sequences, matrices and number bases.

The arithmetic behind school algebra and everyday number work, done exactly where it can be. Integer results that do not fit a computer's ordinary numbers, such as the hundredth Fibonacci number or a 64-bit binary value, are worked out digit by digit so nothing is silently rounded. Fractions stay fractions: a third plus a third plus a third is exactly one. The edge cases are handled rather than hidden: the cube root of a negative number is real, the logarithm of zero is undefined and said so, a quadratic with a negative discriminant has complex roots that are shown, and the remainder of a negative number depends on which of three conventions your language uses, so all three are given. Where a formula loses precision, such as the textbook quadratic formula when one root is tiny, a stable form is used instead.