mirror of
https://github.com/xcat2/xNBA.git
synced 2025-02-08 14:53:30 +00:00
More assertions
This commit is contained in:
parent
c650c8c84a
commit
f06059ab97
@ -305,6 +305,7 @@ UDItype __udivmoddi4 ( UDItype x, UDItype d, UDItype *r ) {
|
||||
( struct uint64 * ) _q, ( struct uint64 * ) _r );
|
||||
|
||||
assert ( ( x == ( ( d * q ) + (*r) ) ) );
|
||||
assert ( (*r) < d );
|
||||
|
||||
return q;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user