![]() |
The template function to_double returns an double approximation of a number. The function is defined if the argument type is a model of the RealEmbeddable concept.
Remark: In order to control the quality of approximation one has to resort to methods that are specific to NT. There are no general guarantees whatsoever.
#include <CGAL/number_utils.h>
| template <class NT> | ||
| double | to_double ( NT x) | |
RealEmbeddable
RealEmbeddableTraits::ToDouble