cgal/Algebraic_foundations/doc_tex/Algebraic_foundations_ref/to_interval.tex

23 lines
577 B
TeX

\begin{ccRefFunction}{to_interval}
\ccDefinition
The template function \ccRefName\ computes for a given real embeddable
number $x$ a double interval containing $x$.
This interval is represented by a \ccc{std::pair<double,double>}.
The function is defined if the argument type
is a model of the \ccc{RealEmbeddable} concept.
\ccInclude{CGAL/number_utils.h}
\ccFunction{template <class NT>
std::pair<double,double> to_interval(const NT& x);}
{}
\ccSeeAlso
\ccRefConceptPage{RealEmbeddable}\\
\ccRefConceptPage{RealEmbeddableTraits::ToInterval}\\
\end{ccRefFunction}