| 285 | return CScriptNum(result); |
| 286 | } |
| 287 | inline CScriptNum operator-(const int64_t &rhs) const { |
| 288 | int64_t result; |
| 289 | if (SubInt63Overflow(m_value, rhs, result)) { |
| 290 | throw scriptnum_overflow_error("script number overflow"); |
| 291 | } |
| 292 | return CScriptNum(result); |
| 293 | } |
| 294 | inline CScriptNum operator+(const CScriptNum &rhs) const { |
| 295 | return operator+(rhs.m_value); |
| 296 | } |
nothing calls this directly
no test coverage detected