MCPcopy Create free account
hub / github.com/catboost/catboost / CeilDiv

Function CeilDiv

util/generic/ymath.h:204–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202 constexpr
203#endif
204 CeilDiv(T x, T y) noexcept {
205 static_assert(std::is_integral<T>::value, "Integral type required.");
206 Y_ASSERT(y != 0);
207 return ::NUtilMathPrivate::TCeilDivImpl<std::is_signed<T>::value>::Do(x, y);
208}

Calls 1

DoFunction · 0.85

Tested by 1

TestCeilDivMethod · 0.68