diff options
Diffstat (limited to 'test.c')
-rw-r--r-- | test.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -25,6 +25,12 @@ int main(void) { test(quotrem.quot,0xDu,==) test(quotrem.rem, 0x4u,==) } + { + /* 3^(-3) */ + zap_i02 const tmp = zap_exp04(0x3,0x3u); + zap_i02 const val = zap_divmod02(0x10000u,tmp).quot; + test(val,0x97Bu,==) + } /* mem */ { zap_i8 const src[0x3Fu] = { |