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.
|template <class NT>|
|double||to_double ( NT x)|