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