CGAL 5.0 - Algebraic Foundations
|
A type is considered as a Fraction
, if there is a reasonable way to decompose it into a numerator and denominator. In this case the relevant functionality for decomposing and re-composing as well as the numerator and denominator type are provided by CGAL::Fraction_traits
.
FractionTraits
CGAL::Fraction_traits<T>