cgal/Algebraic_foundations/doc_tex/Algebraic_foundations_ref/abs.tex

19 lines
448 B
TeX

\begin{ccRefFunction}{abs}
\ccDefinition
The template function \ccRefName\ returns the absolute value of a number.
The function is guaranteed to be well defined in case the argument type
is a model of the \ccc{RealEmbeddable} concept.
\ccInclude{CGAL/number_utils.h}
\ccFunction{template <class NT> NT abs(const NT& x);}{}
\ccSeeAlso
\ccRefConceptPage{RealEmbeddable} \\
\ccRefConceptPage{RealEmbeddableTraits::Abs}\\
\end{ccRefFunction}