Skip to content

Commit

Permalink
grid: Remove FE_INVALID check to avoid false positives from fast-math
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Sep 25, 2020
1 parent 0a94460 commit dbf7a77
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/grid/grid_collocate_replay.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,10 +455,6 @@ double grid_collocate_replay(const char *filename, const int cycles,
free(grid_test);

// Check floating point exceptions.
if (fetestexcept(FE_INVALID) != 0) {
fprintf(stderr, "Error: Floating point exception FE_INVALID.\n");
exit(1);
}
if (fetestexcept(FE_DIVBYZERO) != 0) {
fprintf(stderr, "Error: Floating point exception FE_DIVBYZERO.\n");
exit(1);
Expand Down

0 comments on commit dbf7a77

Please sign in to comment.