one more test
This commit is contained in:
parent
988c04ad79
commit
25912d79cb
@ -20,6 +20,7 @@ int main() {
|
|||||||
assert(imult64(0x3fffffffffffffffll,2,&c)==1 && c==0x7ffffffffffffffell);
|
assert(imult64(0x3fffffffffffffffll,2,&c)==1 && c==0x7ffffffffffffffell);
|
||||||
|
|
||||||
assert(umult64(0x0000000100000002ull,0x00000000ffffffffull,&c)==0);
|
assert(umult64(0x0000000100000002ull,0x00000000ffffffffull,&c)==0);
|
||||||
|
assert(umult64(0x0000000000000001ull,0x00000000ffffffffull,&c)==1);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user