CGAL 5.1 - Algebraic Foundations
RealEmbeddableTraits_::ToDouble Class Reference

#include <Concepts/RealEmbeddableTraits--ToDouble.h>

Definition

AdaptableUnaryFunction computes a double approximation of a real embeddable number.

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.

Refines:
AdaptableUnaryFunction
See also
RealEmbeddableTraits

Types

typedef double result_type
 The result type. More...
 
typedef unspecified_type argument_type
 Is RealEmbeddableTraits::Type. More...
 

Operations

result_type operator() (argument_type x)
 computes a double approximation of a real embeddable number. More...
 

Member Typedef Documentation

◆ argument_type

◆ result_type

The result type.

Member Function Documentation

◆ operator()()

result_type RealEmbeddableTraits_::ToDouble::operator() ( argument_type  x)

computes a double approximation of a real embeddable number.