[LLVMdev] NaNs and Infinities

Dale Johannesen dalej at apple.com
Mon Apr 19 10:51:14 PDT 2010


Floating point is handled in APFloat.   isNaN and isInfinity are there.

On Apr 19, 2010, at 3:19 AMPDT, lost wrote:

> Hello!
> 
> How can I test if floating-point value is NaN or positive/negative infinity?
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev





More information about the llvm-dev mailing list