MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / mod

Function mod

extlibs/fmt/include/fmt/chrono.h:698–700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

696
697template <typename T, FMT_ENABLE_IF(std::is_integral<T>::value)>
698inline T mod(T x, int y) {
699 return x % static_cast<T>(y);
700}
701template <typename T, FMT_ENABLE_IF(std::is_floating_point<T>::value)>
702inline T mod(T x, int y) {
703 return std::fmod(x, static_cast<T>(y));

Callers 5

get_millisecondsFunction · 0.85
hourMethod · 0.85
hour12Method · 0.85
minuteMethod · 0.85
secondMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected