Geogram Version 1.10.2
A programming library of geometric algorithms
Loading...
Searching...
No Matches
rationalg.h File Reference

Generic implementation of rational type. More...

Go to the source code of this file.

Classes

class  GEO::rationalg< T >
 rationalg (generic rational) is used to compute the sign of rational fractions exactly. More...
struct  GEO::is_scalar< rationalg< T > >
 Specialization of GEO::is_scalar. More...

Namespaces

namespace  GEO
 Global Vorpaline namespace.
namespace  GEO::Numeric
 Defines numeric types used in Vorpaline.

Functions

template<class T>
Sign GEO::geo_sgn (const rationalg< T > &x)
 Specialization of geo_sgn() for rationalg.
template<class T>
Sign GEO::geo_cmp (const rationalg< T > &a, const rationalg< T > &b)
 Specialization of geo_cmp() for rationalg.
template<class T>
void GEO::Numeric::optimize_number_representation (rationalg< T > &x)

Detailed Description

Generic implementation of rational type.

Definition in file rationalg.h.