CGAL 6.0.1 - Algebraic Foundations
Loading...
Searching...
No Matches
RealEmbeddable Concept Reference

Definition

A model of this concepts represents numbers that are embeddable on the real axis. The type obeys the algebraic structure and compares two values according to the total order of the real numbers.

Moreover, CGAL::Real_embeddable_traits< RealEmbeddable > is a model of RealEmbeddableTraits

with:

and functors :

Remark:

If a number type is a model of both IntegralDomainWithoutDivision and RealEmbeddable, it follows that the ring represented by such a number type is a sub-ring of the real numbers and hence has characteristic zero.

Refines
EqualityComparable
LessThanComparable
See also
RealEmbeddableTraits

Operations

bool operator== (const RealEmbeddable &a, const RealEmbeddable &b)
 
bool operator!= (const RealEmbeddable &a, const RealEmbeddable &b)
 
bool operator< (const RealEmbeddable &a, const RealEmbeddable &b)
 
bool operator<= (const RealEmbeddable &a, const RealEmbeddable &b)
 
bool operator> (const RealEmbeddable &a, const RealEmbeddable &b)
 
bool operator>= (const RealEmbeddable &a, const RealEmbeddable &b)