| 53 | |
| 54 | template<typename T> |
| 55 | void increment_next(T& val, |
| 56 | typename std::enable_if<std::is_floating_point<T>::value, |
| 57 | int>::type t = 0) { |
| 58 | val = std::nextafterf(val, std::numeric_limits<T>::max()); |
| 59 | } |
| 60 | |
| 61 | template<typename T> |
| 62 | void increment_next( |