Displaying 1 result from an estimated 1 matches for "9a9dde45".
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