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

Function SafeModulusTest

Test/ConstExpr.cpp:339–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337
338 template <typename T, typename U>
339 _CONSTEXPR14 bool SafeModulusTest()
340 {
341 U u = 2;
342 T result = 0;
343 return SafeModulus((T)3, u, result);
344 }
345
346 template <typename T, typename U>
347 _CONSTEXPR14 bool SafeMultiplyTest()

Callers

nothing calls this directly

Calls 1

SafeModulusFunction · 0.50

Tested by

no test coverage detected