CGAL::Sgn<NT>

Definition

The function object class Sgn<NT> computes the sign of a number. It is named Sgn to avoid a conflict with the type Sign.

#include <CGAL/number_utils_classes.h>

Is Model for the Concept

AdaptableFunctor

Sign f ( NT ntval) returns the sign: POSITIVE, ZERO, or NEGATIVE.