The template function compare compares the first argument with respect to the second, i.e. it returns CGAL::LARGER if x is larger then y.
In case the argument types NT1 and NT2 differ, compare is performed with the semantic of the type determined via Coercion_traits. The function is guaranteed to be well defined in case this type is a model of the RealEmbeddable concept.
#include <CGAL/number_utils.h>
| ||
|
| The result_type is convertible to CGAL::Comparison_result. |
RealEmbeddable
RealEmbeddableTraits::Compare