llvm::APFloat::convertToDouble

Converts this APFloat to host double value.

Synopsis

Declared in <llvm/ADT/APFloat.h>

double
convertToDouble() const;

Return Value

host double representation of this value

Preconditions

  • The APFloat must be built using semantics, that can be represented by the host double type without loss of precision. It can be IEEEdouble and shorter semantics, like IEEEsingle and others.