Arbitrary Precision Rational Calculator
  Expression Result
p
q
r
s
t
x
y
z
 
Copyright © 2011 Andrew Birrell.
 
Display results as:
This calculator performs exact calculations on rationals, “i / j” where “i” and “j” are arbitrarily large integers.
Literal integers are decimal unless obviously hex or prefixed by “0x”. The operators are +, -, *, /, %, mod, and ^.
Parentheses work as normal. Expressions can refer to other expressions by name. The functions are sign, abs,
floor, round, log10, gcd, inverse, and prime (hover for a description). When you change an expression
and press “tab”, all results that depend on the expression’s value are updated. Examples: RSA, SOSP.