Commit bf792b0d authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Do not choke on underflow.

parent 58d36dd4
...@@ -270,7 +270,7 @@ int main(int argc, char *argv[]) { ...@@ -270,7 +270,7 @@ int main(int argc, char *argv[]) {
/* Do we choke on FP-exceptions ? */ /* Do we choke on FP-exceptions ? */
if (with_fp_exceptions) { if (with_fp_exceptions) {
feenableexcept(FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW | FE_UNDERFLOW); feenableexcept(FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW);
if (myrank == 0) message("Floating point exceptions will be reported."); if (myrank == 0) message("Floating point exceptions will be reported.");
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment