| 107 | |
| 108 | template <typename N, typename N1, typename N2> |
| 109 | bool isBetween(const N& target, const N1& lowerBound, const N2& upperBound) |
| 110 | { |
| 111 | if (target >= lowerBound && target <= upperBound) |
| 112 | return true; |
| 113 | return false; |
| 114 | } |
| 115 | |
| 116 | template <typename T> int sign(T val) |
| 117 | { |
no outgoing calls
no test coverage detected