In my program I'm getting float point exceptions. I read and found that they are caused by illegal operations. I made a small test program but was not able to get a floating point exception. Here's what I did:
It just outputs "inf". If you need I can post some of the code that I think is causing the problem.Code:#include <iostream>
int main()
{
double zero = 0.0;
double x = 15.0 / zero;
std::cout << x << std::endl;
return 0;
}