Source code
Revision control
Copy as Markdown
Other Tools
// Any copyright is dedicated to the Public Domain.
// Check that |x % x| returns zero when |x| contains multiple digits
assertEq(0x10000000000000000n % 0x10000000000000000n, 0n);
assertEq(-0x10000000000000000n % -0x10000000000000000n, 0n);
reportCompare(true, true);