MCPcopy Create free account
hub / github.com/dcleblanc/SafeInt / SafeModulus

Function SafeModulus

Archive/releases/5/SafeInt_3013p.cpp:5067–5070  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5065
5066template < typename T, typename U >
5067inline bool SafeModulus( const T& t, const U& u, T& result ) throw()
5068{
5069 return ( ModulusHelper< T, U, ValidComparison< T, U >::method >::Modulus( t, u, result ) == SafeIntNoError );
5070}
5071
5072template < typename T, typename U >
5073inline bool SafeMultiply( T t, U u, T& result ) throw()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected