MCPcopy Create free account
hub / github.com/c3d/tao3D / Modulo

Method Modulo

libcryptopp/cryptopp/integer.cpp:3787–3792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3785}
3786
3787Integer Integer::Modulo(const Integer &b) const
3788{
3789 Integer remainder, quotient;
3790 Integer::Divide(remainder, quotient, *this, b);
3791 return remainder;
3792}
3793
3794void Integer::Divide(word &remainder, Integer &quotient, const Integer &dividend, word divisor)
3795{

Callers 1

InverseModMethod · 0.45

Calls 4

DivideFunction · 0.85
DWordClass · 0.85
IsNegativeFunction · 0.85
DivideByZeroClass · 0.70

Tested by

no test coverage detected