Added alternate Int36 addition/subtraction overflow/underflow detection logic as a verification check
This commit is contained in:
parent
048a10aac6
commit
4de50acdf1
2 changed files with 85 additions and 26 deletions
|
|
@ -139,18 +139,17 @@ test("set 4001");
|
|||
test("div -5");
|
||||
|
||||
test("set 0o037777777777 0o777777777777");
|
||||
|
||||
// test("set 0o047777777777 0o777777777777");
|
||||
// test("set 0o057777777777 0o777777777777");
|
||||
// test("set 0o067777777777 0o777777777777");
|
||||
// test("set 0o077777777777 0o777777777777");
|
||||
// test("set 0o177777777777 0o777777777777");
|
||||
// test("set 0o277777777777 0o777777777777");
|
||||
// test("set 0o377777777777 0o777777777777");
|
||||
// test("set 0o477777777777 0o777777777777");
|
||||
// test("set 0o577777777777 0o777777777777");
|
||||
// test("set 0o677777777777 0o777777777777");
|
||||
// test("set 0o777777777777 0o777777777777");
|
||||
test("set 0o047777777777 0o777777777777");
|
||||
test("set 0o057777777777 0o777777777777");
|
||||
test("set 0o067777777777 0o777777777777");
|
||||
test("set 0o077777777777 0o777777777777");
|
||||
test("set 0o177777777777 0o777777777777");
|
||||
test("set 0o277777777777 0o777777777777");
|
||||
test("set 0o377777777777 0o777777777777");
|
||||
test("set 0o477777777777 0o777777777777");
|
||||
test("set 0o577777777777 0o777777777777");
|
||||
test("set 0o677777777777 0o777777777777");
|
||||
test("set 0o777777777777 0o777777777777");
|
||||
|
||||
repl.start({
|
||||
prompt: "int36> ",
|
||||
|
|
|
|||
Loading…
Reference in a new issue