How to get float/double from ConstantFP?
writalnaie opened this issue · comments
How to retrieve the double or float value from ConstantFP (actually Constant) class. It seems there is no interface for such requirement.
By the way, how do you generate the llvmpy/api.cpp and llvmpy/api/llvm/init.py? By manual or some automatical tool? I'm using llvmpy-0.11.2 which is the most recent version in the official website.
Thanks!