Rational Numbers
Like integers, rational numbers can be arbitrarily large. For example:
Rational numbers will not be converted to decimals unless you explicitly
ask Axiom to do so. To convert a rational number to a decimal, use the
function numeric. Here's an example:
You can find the numerator and denominator of rational numbers using the
functions numer and
denom, respectively.
To factor the numerator and denominator of a fraction, use the following
command: