The class Rational_traits<NT> can be used to determine the type of the numerator and denominator of a rational number type as Quotient, Gmpq, mpq_class or leda_rational.
#include <CGAL/Number_type_traits.h>
| |
the type of the numerator and denominator.
|
|
| |
returns the numerator of r. | ||
|
| |
returns the denominator of r. | ||
|
| |
constructs a rational number. |