The class mpq_class is an exact multiprecision rational number type, provided by GMP. CGAL provides the necessary functions to make it compliant to the number type concept.
#include <CGAL/gmpxx.h>
See the GMP documentation for additional details.