mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 07:18:30 +00:00
Add pseudoteletypewriter to emulator
https://justine.storage.googleapis.com/emulator628.mp4
This commit is contained in:
parent
e86cff8ba0
commit
5aabacb361
94 changed files with 3245 additions and 2179 deletions
2
third_party/compiler_rt/divmodti4.c
vendored
2
third_party/compiler_rt/divmodti4.c
vendored
|
@ -24,7 +24,7 @@ COMPILER_RT_ABI ti_int __divmodti4(ti_int a, ti_int b, tu_int *opt_out_rem) {
|
|||
tu_int r;
|
||||
ti_int sa, sb, sq, sr, x, y, q;
|
||||
k = sizeof(ti_int) * CHAR_BIT - 1;
|
||||
if (b < 0 && a == ((ti_int)1 << k)) {
|
||||
if (b == -1 && a == ((ti_int)1 << k)) {
|
||||
volatile int x = 0;
|
||||
x = 1 / x; // raise(SIGFPE)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue