CGAL::sign

Definition

The template function sign returns the sign of a number.

The function is guaranteed to be well defined in case the argument type is a model of the RealEmbeddable concept.

#include <CGAL/number_utils.h>

template <class NT>
result_type sign ( NT x) returns the sign of the argument. The result_type is convertible to CGAL::Sign.

See Also

RealEmbeddable
RealEmbeddableTraits::Sign