| 81 | |
| 82 | template<typename T> |
| 83 | inline int DecimalValue<T>::Compare(const DecimalValue& other) const { |
| 84 | T x = value(); |
| 85 | T y = other.value(); |
| 86 | if (x == y) return 0; |
| 87 | if (x < y) return -1; |
| 88 | return 1; |
| 89 | } |
| 90 | |
| 91 | template<typename T> |
| 92 | inline const T DecimalValue<T>::whole_part(int scale) const { |
nothing calls this directly
no test coverage detected