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

Function SafeDivide

Archive/releases/5/SafeInt_3013p.cpp:5079–5082  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5077
5078template < typename T, typename U >
5079inline bool SafeDivide( T t, U u, T& result ) throw()
5080{
5081 return ( DivisionHelper< T, U, DivisionMethod< T, U >::method >::Divide( t, u, result ) == SafeIntNoError );
5082}
5083
5084template < typename T, typename U >
5085inline bool SafeAdd( T t, U u, T& result ) throw()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected