CGAL::square

Definition

The function square returns the square of a number.
The function is guaranteed to be well defined in case the argument type is a model of the IntegralDomainWithoutDivision concept.

#include <CGAL/number_utils.h>

template <class NT>
NT square ( NT x)

See Also

IntegralDomainWithoutDivision
AlgebraicStructureTraits::Square