[LLVMdev] APFloat::convertToDouble asserts

Dale Johannesen dalej at apple.com
Fri Jul 9 11:42:04 PDT 2010


On Jul 9, 2010, at 7:59 AMPDT, Jochen Wilhelmy wrote:

> Hi!
>
> I wonder why APFloat::convertToDouble asserts if it is not an
> APFloat::IEEEdouble while the name "convertToDouble" suggests that it
> converts when it is not a double.

The conversion is to (host) double, as the name implies.  Among  
APFloat types, that is only implemented for APFloat::IEEEdouble.




More information about the llvm-dev mailing list