Geogram  Version 1.9.1
A programming library of geometric algorithms
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...
 

Namespaces

 GEO
 Global Vorpaline 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. More...
 
template<class T >
Sign GEO::geo_cmp (const rationalg< T > &a, const rationalg< T > &b)
 Specialization of geo_cmp() for rationalg. More...
 
template<class T >
void GEO::Numeric::optimize_number_representation (rationalg< T > &x)
 

Detailed Description

Generic implementation of rational type.

Definition in file rationalg.h.