53 #ifndef CGAL_NUMBER_UTILS_CLASSES_H
54 #define CGAL_NUMBER_UTILS_CLASSES_H 1
58 #endif // CGAL_CONFIG_H
66 struct Is_zero :
public CGAL_STD::unary_function< NT, bool > {
72 struct Is_one :
public CGAL_STD::unary_function< NT, bool > {
78 struct Is_negative :
public CGAL_STD::unary_function< NT, bool > {
84 struct Is_positive :
public CGAL_STD::unary_function< NT, bool > {
91 struct Sgn :
public CGAL_STD::unary_function< NT, int > {
98 :
public CGAL_STD::binary_function< NT, NT, int > {
104 template <
class NT >
105 struct Abs :
public CGAL_STD::unary_function< NT, NT > {
110 template <
class NT >
111 struct Min :
public CGAL_STD::binary_function< NT, NT, NT > {
116 template <
class NT >
117 struct Max :
public CGAL_STD::binary_function< NT, NT, NT > {
122 template <
class NT >
124 :
public CGAL_STD::binary_function< NT, NT, Comparison_result > {
131 template <
class NT >
132 struct Square :
public CGAL_STD::unary_function< NT, NT > {
141 #endif // CGAL_NUMBER_UTILS_CLASSES_H
NT operator()(const NT &x) const
bool operator()(const NT &x) const
static SURF_BEGIN_NAMESPACE double sign(double x)
NT operator()(const NT &x) const
void int int REAL REAL * y
bool is_zero(const NT &x)
Vector_n max(const Array_n_const &v1, const Array_n_const &v2)
Sign operator()(const NT &x, const NT &y) const
bool operator()(const NT &x) const
bool is_negative(const NT &x)
NT operator()(const NT &x, const NT &y) const
Comparison_result operator()(const NT &x, const NT &y) const
bool operator()(const NT &x) const
bool operator()(const NT &x) const
bool is_positive(const NT &x)
Sign operator()(const NT &x) const
Vector_n min(const Array_n_const &v1, const Array_n_const &v2)
CGAL_KERNEL_INLINE Sign lexicographical_sign(const NT &x, const NT &y)
NT operator()(const NT &x, const NT &y) const
#define CGAL_BEGIN_NAMESPACE
CGAL_KERNEL_INLINE Comparison_result compare(const NT &n1, const NT &n2)
#define CGAL_END_NAMESPACE