FunctionObjectConcept

RealEmbeddableTraits::ToDouble

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

Types

RealEmbeddableTraits::ToDouble::result_type
Is double.


RealEmbeddableTraits::ToDouble::argument_type
Is RealEmbeddableTraits::Type.

Operations

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

See Also

RealEmbeddableTraits