Method
SetSign
! this method sets the sign e.g. 1 -> -1 -2 -> -2 from a positive value we make a negative value, if the value is negative we do nothing */
Source from the content-addressed store, hash-verified
| 138 | if the value is negative we do nothing |
| 139 | */ |
| 140 | void SetSign() |
| 141 | { |
| 142 | if( IsSign() ) |
| 143 | return; |
| 144 | |
| 145 | ChangeSign(); |
| 146 | } |
| 147 | |
| 148 | |
| 149 | |
Tested by
no test coverage detected