Skip to content

Commit

Permalink
saving
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Jan 31, 2024
1 parent 095643b commit 8072230
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/cppincludetest2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ bool testdivsigned(int32_t min, int32_t max, bool verbose) {
if (d == -1) {
printf("skipping d = -1 as it is not supported\n");
continue;
}
}
if (d == -2147483648) {
printf("skipping d = -2147483648 as it is unsupported\n");
continue;
Expand All @@ -174,7 +174,11 @@ bool testdivsigned(int32_t min, int32_t max, bool verbose) {
d, a);
printf("expected %d div %d = %d \n", a, d, computedDiv);
printf("got %d div %d = %d \n", a, d, computedFastDiv);
return false;
if(d == -2147483648) {
printf("Note: d = -2147483648 is unsupported\n");
} else {
return false;
}
}
}
if (verbose)
Expand Down

0 comments on commit 8072230

Please sign in to comment.