Add -integer-division-by-zero:all-bits

This commit is contained in:
gingerBill
2025-08-10 18:29:08 +01:00
parent b6e0b48481
commit 8df69c95c3
4 changed files with 59 additions and 11 deletions

View File

@@ -2589,6 +2589,7 @@ gb_internal int print_show_help(String const arg0, String command, String option
print_usage_line(3, "-integer-division-by-zero:trap Trap on division/modulo/remainder by zero");
print_usage_line(3, "-integer-division-by-zero:zero x/0 == 0 and x%%0 == x and x%%%%0 == x");
print_usage_line(3, "-integer-division-by-zero:self x/0 == x and x%%0 == 0 and x%%%%0 == 0");
print_usage_line(3, "-integer-division-by-zero:all-bits x/0 == ~T(0) and x%%0 == x and x%%%%0 == x");
}
}