namespace Math { template inline T max(U first, V second) { return static_cast(static_cast(first) >= static_cast(second) ? first : second); } }