Function

CGAL::abs

Definition

The template function abs returns the absolute value of a number.

The function is defined if the argument type is a model of the RealEmbeddable concept.

#include <CGAL/number_utils.h>

template <class NT>
NT abs ( NT x)

See Also

RealEmbeddable
RealEmbeddableTraits::Abs