CGAL::to_interval

Definition

The template function to_interval computes for a given real embeddable number x a double interval containing x. This interval is represented by a std::pair<double,double>. The function is guaranteed to be well defined in case the argument type is a model of the RealEmbeddable concept.

#include <CGAL/number_utils.h>

template <class NT>
std::pair<double,double> to_interval ( NT x)

See Also

RealEmbeddable
RealEmbeddableTraits::ToInterval