MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / minmax

Function minmax

include/boost/multiprecision/cpp_int/cpp_int_config.hpp:144–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142
143template <class T>
144inline BOOST_MP_CXX14_CONSTEXPR void minmax(const T& a, const T& b, T& aa, T& bb)
145{
146 if (a < b)
147 {
148 aa = a;
149 bb = b;
150 }
151 else
152 {
153 aa = b;
154 bb = a;
155 }
156}
157
158} // namespace multiprecision
159} // namespace boost

Callers 5

bitwise_opFunction · 0.85
add_unsigned_constexprFunction · 0.85
add_unsignedFunction · 0.85
subtract_unsignedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected