micropython-ulab/tests/2d/numpy/and.py.exp
Zoltán Vörös 5279de73ab
implement AND, OR, XOR binary operators (#639)
* implement AND, OR, XOR binary operators

* fix unterminated if

* add missing linebreak

* add more linebreaks

* remove leading linebreak
2023-07-21 21:57:31 +02:00

20 lines
887 B
Text

a & b: array([0, 1, 0, 1, 4], dtype=uint8)
a & b: array([0, 1, 0, 1, 4], dtype=int16)
a & b: array([0, 1, 0, 1, 4], dtype=uint16)
a & b: array([0, 1, 0, 1, 4], dtype=int16)
a & b (bool): array([0, 1, 0, 1, 0], dtype=uint8)
a & b: array([0, 1, 0, 1, 4], dtype=int16)
a & b: array([0, 1, 0, 1, 4], dtype=int8)
a & b: array([0, 1, 0, 1, 4], dtype=int16)
a & b: array([0, 1, 0, 1, 4], dtype=int16)
a & b (bool): array([0, 1, 0, 1, 0], dtype=int16)
a & b: array([0, 1, 0, 1, 4], dtype=uint16)
a & b: array([0, 1, 0, 1, 4], dtype=int16)
a & b: array([0, 1, 0, 1, 4], dtype=uint16)
dtype of int32 is not supported
a & b (bool): array([0, 1, 0, 1, 0], dtype=uint16)
a & b: array([0, 1, 0, 1, 4], dtype=int16)
a & b: array([0, 1, 0, 1, 4], dtype=int16)
dtype of int32 is not supported
a & b: array([0, 1, 0, 1, 4], dtype=int16)
a & b (bool): array([0, 1, 0, 1, 0], dtype=int16)