[LLVMdev] creating 80/128bit FP constants?

Duncan Sands baldrick at free.fr
Wed May 1 03:21:33 PDT 2013


On 30/04/13 07:33, edA-qa mort-ora-y wrote:
> How do I emit 80/128 bit FP constants. There is one ConstantFP::get
> function which takes a double and another that takes a StringRef.  Does
> the StringRef version somehow do what I want?

Use the one that takes an APFloat.

Ciao, Duncan.




More information about the llvm-dev mailing list