[LLVMdev] numeric limits of llvm Types?

Alexander Poddey alexander.poddey at gmx.net
Thu Jan 22 00:54:08 PST 2015


Hi all,

can I access the numeric limits of the llvm types, 
e.g. HalfTy, FloatTy, DoubleTy, etc.
in a fashion like the std numeric_limits tool?

std::numeric_limits<half>::min()
std::numeric_limits<half>::max()

In c++API, I want to initialize values and need to know the correct range 
for the llvm types....



Thx
Alex 
 




More information about the llvm-dev mailing list