diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-08-10 18:29:08 +0100 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-08-10 18:29:08 +0100 |
| commit | 8df69c95c3163562b6caf6c55651363c17c3f478 (patch) | |
| tree | df65019c482eb0bbf6d090475809f448147a5251 /src/main.cpp | |
| parent | b6e0b4848116697fa86a46c0b06a5ceb3654d5c6 (diff) | |
Add `-integer-division-by-zero:all-bits`
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 06b9cab94..db4dee080 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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"); } } |