Commit 7626e4d2 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Add warning message when FP exceptions are reported.

parent 75671159
......@@ -296,7 +296,8 @@ int main(int argc, char *argv[]) {
/* Do we choke on FP-exceptions ? */
if (with_fp_exceptions) {
feenableexcept(FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW);
if (myrank == 0) message("Floating point exceptions will be reported.");
if (myrank == 0)
message("WARNING: Floating point exceptions will be reported.");
}
/* How large are the parts? */
......
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