check for nan under –ffast-math
Suppose (while avoiding a night-filling discussion on why) I use -ffast-math
and my program does ten Newton iterations. They either converge or by that point a NaN will have occured.
Suppose (while avoiding a night-filling discussion on why) I use -ffast-math
and my program does ten Newton iterations. They either converge or by that point a NaN will have occured.