Error in bitand() documentation
2 次查看(过去 30 天)
显示 更早的评论
- Edit - my problems were caused by an overflow.
What remains is a small error in the bitand() documentation:
"the bit-wise AND of —5 (11111010) and 6 (00000110) is 2 (00000010)."
In two's complement, -5 would be 11111011. However, the example is chosen such that it does not make a difference.
Kind regards,
Dirk-Jan
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multidimensional Arrays 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!