! this method adds one to the value and returns carry */
| 324 | this method adds one to the value and returns carry |
| 325 | */ |
| 326 | uint AddOne() |
| 327 | { |
| 328 | bool p1_is_sign = IsSign(); |
| 329 | |
| 330 | UInt<value_size>::AddOne(); |
| 331 | |
| 332 | return CorrectCarryAfterAdding(p1_is_sign, false); |
| 333 | } |
| 334 | |
| 335 | |
| 336 | /*! |
no outgoing calls
no test coverage detected