Convert two's complement to sign-magnitude

前端 未结 4 1313
伪装坚强ぢ
伪装坚强ぢ 2020-12-22 10:35

I need to convert from two\'s complement to sign-magnitude in C using only the operators

! ~ & ^ | + << >>

My approach is t

4条回答
提交回复
热议问题