micropython-ulab/tests/2d/numpy/or.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
1,007 B
Text

a | b: array([250, 251, 254, 255, 254], dtype=uint8)
a | b: array([-6, -5, -2, -1, -2], dtype=int16)
a | b: array([250, 251, 254, 255, 254], dtype=uint16)
a | b: array([250, 251, 254, 255, 254], dtype=int16)
a | b (bool): array([0, 1, 2, 3, 4], dtype=uint8)
a | b: array([250, 251, 254, 255, 254], dtype=int16)
a | b: array([-6, -5, -2, -1, -2], dtype=int8)
a | b: array([250, 251, 254, 255, 254], dtype=int16)
a | b: array([250, 251, 254, 255, 254], dtype=int16)
a | b (bool): array([0, 1, 2, 3, 4], dtype=int16)
a | b: array([250, 251, 254, 255, 254], dtype=uint16)
a | b: array([-6, -5, -2, -1, -2], dtype=int16)
a | b: array([250, 251, 254, 255, 254], dtype=uint16)
dtype of int32 is not supported
a | b (bool): array([0, 1, 2, 3, 4], dtype=uint16)
a | b: array([250, 251, 254, 255, 254], dtype=int16)
a | b: array([-6, -5, -2, -1, -2], dtype=int16)
dtype of int32 is not supported
a | b: array([250, 251, 254, 255, 254], dtype=int16)
a | b (bool): array([0, 1, 2, 3, 4], dtype=int16)