Displaying 3 results from an estimated 3 matches for "fp128ty".
Did you mean:
fp128
2009 Feb 17
3
[LLVMdev] FP128Ty
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:
2009 Feb 17
0
[LLVMdev] FP128Ty
...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.
FP128Ty is stubbed out, but completely untested and not supported by
any targets yet.
-Chris
2009 Feb 17
1
[LLVMdev] FP128Ty
...e 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.
>
> FP128Ty is stubbed out, but completely untested and not supported by
> any targets yet.
More specifically, the compile-time arithmetic stuff *should* Just
Work, although nobody has tried it; the conversions of FP128 to and
from other formats are not done. They should not be difficult to do
by co...