* add bitwise operators * add build to requirements * [EDIT] - Tweaked test data and saved test results. * Tweaked test values for and / or * [EDIT] - Setting print options to be verbose for test comparisons. * [EDIT] - Removed call to set_printoptions and added output from ulab instead of numpy. Of note - there seems to be a discrepancy between the numpy and ulab output for one of the left_shift cases. * [EDIT] - Added newline at end of file for diffing purposes. * [EDIT] - Added print options back in as output seemed truncated. --------- Co-authored-by: Zoltán Vörös <zvoros@gmail.com> Co-authored-by: JamieDouugh <jamie.davies@douugh.com>
16 lines
628 B
Text
16 lines
628 B
Text
array([0, 1, 1, 1, 2, 7], dtype=uint8)
|
|
array([0, 1, 1, 1, 2, 7], dtype=int16)
|
|
array([0, 1, 1, 1, 2, 7], dtype=uint16)
|
|
array([0, 1, 1, 1, 2, 7], dtype=int16)
|
|
array([0, 1, 1, 1, 2, 7], dtype=int16)
|
|
array([0, 1, 1, 1, 2, 7], dtype=int8)
|
|
array([0, 1, 1, 1, 2, 7], dtype=uint16)
|
|
array([0, 1, 1, 1, 2, 7], dtype=int16)
|
|
array([0, 1, 1, 1, 2, 7], dtype=uint16)
|
|
array([0, 1, 1, 1, 2, 7], dtype=uint16)
|
|
array([0, 1, 1, 1, 2, 7], dtype=uint16)
|
|
array([0, 1, 1, 1, 2, 7], dtype=int16)
|
|
array([0, 1, 1, 1, 2, 7], dtype=int16)
|
|
array([0, 1, 1, 1, 2, 7], dtype=int16)
|
|
array([0, 1, 1, 1, 2, 7], dtype=int16)
|
|
array([0, 1, 1, 1, 2, 7], dtype=int16)
|