CGAL 5.2.4 - Algebraic Foundations
RealEmbeddableTraits_::ToDouble Concept Reference

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.
 
typedef unspecified_type argument_type
 Is RealEmbeddableTraits::Type.
 

Operations

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