search for: 2f50019d

Displaying 2 results from an estimated 2 matches for "2f50019d".

2010 Jul 23
0
[LLVMdev] Floating-Point Overflow check
...eger arithmetic. You want to check whether the result is infinite. I think the easiest way of doing that is to check whether (x - x) != (x - x). John. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100723/2f50019d/attachment.html>
2010 Jul 23
4
[LLVMdev] Floating-Point Overflow check
Hi, i need to check if an overflow of an floating-point arithmetic operation occured. Currently I'm doing something like this (for addition): (LHS > 0 && RHS > 0 && sum <= 0) || (LHS < 0 && RHS < 0 && sum >= 0) This is checked for every addition. Is there a more efficient way like the intrisic for int overflow? How is it possible to raise a