diff options
Diffstat (limited to 'test.c')
-rw-r--r-- | test.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -26,10 +26,9 @@ int main(void) { 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,==) + test(zap_divmod02(0x10000u,zap_exp8(0x3u,0x3u)).quot,0x97Bu,==) /* 3^(-3) */ + test(zap_exp8(0x0u,0x0u),0x1u,==) + test(zap_exp8(0x0u,0x1u),0x0u,==) } /* mem */ { |