Class Rational

java.lang.Object
org.clafer.math.Rational
All Implemented Interfaces:
Comparable<Rational>

public class Rational extends Object implements Comparable<Rational>
A rational number. Operations throw an ArithmeticException when the result does not fit in a long, instead of silently overflowing.
Author:
jimmy