[LLVMdev] FP128Ty

aparna kotha kotha.aparna at gmail.com
Mon Feb 16 18:12:17 PST 2009


I am new to llvm and am stuck up with a problem.
I am trying to initialize a Value* of type fp128 having the value 0

I am using the following construct

ConstantFP::get(APFloat(APInt(128,0,false)));

This is returning a double instead of a float and I am confused.

Thanks a lot for your help.




-- 
-- Aparna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090216/7e7b438f/attachment.html>


More information about the llvm-dev mailing list