Ubuntu – fpclassify and isnormal return different answers
I am using gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0. I have a bug in my code where a numerical analysis function is giving very different answers. Each of the following returns true. assert (fpclassify(x) == FP_NORMAL);; assert (x == x); assert (~(isnan(x)));…