Skip to content
Snippets Groups Projects
Commit 7626e4d2 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Add warning message when FP exceptions are reported.

parent 75671159
Branches
Tags
No related merge requests found
......@@ -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? */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment