[llvm-dev] X86_FP80 in APFloat
Akash Banerjee via llvm-dev
llvm-dev at lists.llvm.org
Tue Jan 21 20:55:05 PST 2020
Hi all,
I want to extract the actual value of an X86_FP80 APFloat Constant. Is
there any API with which I can get the value of mantissa and exponent?
I tried ConvertToHexString, but for x86_fp80 0xK8FFFC000000000000000, it
just returns nan, instead I want the actual byte information.
There are APIs like convertToDouble and convertToFloat for APFloat single
and double precision, I am looking for something similar for extended
precision(X86_FP80).
Thanks,
Akash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200122/8c5e7c15/attachment.html>
More information about the llvm-dev
mailing list