master
Added another approach for the calculation
Merge pull request #16488 from yadavan88/twos-complement