Botan

Division

License
Botan is released under the Simplified BSD License (see LICENSE.md)

void  divide()(auto ref const BigInt x, auto ref const BigInt y_arg, ref BigInt q, ref BigInt r);

BigInt Division

Parameters
BigInt x an integer
BigInt y_arg a non-zero integer
BigInt q will be set to x / y
BigInt r will be set to x % y