diff options
Diffstat (limited to 'tests/ii/arithmetic/notes.md')
| -rw-r--r-- | tests/ii/arithmetic/notes.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ii/arithmetic/notes.md b/tests/ii/arithmetic/notes.md new file mode 100644 index 0000000..947a3fa --- /dev/null +++ b/tests/ii/arithmetic/notes.md @@ -0,0 +1,5 @@ +# arithmetic + +CIE pp. 15-16, project i64 and truncation-towards-zero DIV/MOD. Full-width extremes are used only in safe division/remainder and comparisons; addition, subtraction and multiplication use A MOD 1000001. B is nonzero, and INT64_MIN / -1 is never generated. + +Each record produces exactly one output line. Random records are preceded by fixed boundary records; every arithmetic intermediate is bounded. |
