Community Profile

photo

Andrew


Last seen: 4 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


dec2bin is adding inappropriate 0s to negative numbers when numBits is specified
e.g. dec2bin(-23, 10) produces '0011101001', but it should produce '1111101001'.

4 years ago | 2 answers | 0

2

answers