hyb
2026-01-30 44480e71b27aa9d4cb8441f50c873f1b110e9691
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import numpy as np
 
i8 = np.int64()
i4 = np.int32()
u8 = np.uint64()
b_ = np.bool()
i = int()
 
f8 = np.float64()
 
b_ >> f8  # type: ignore[operator]
i8 << f8  # type: ignore[operator]
i | f8  # type: ignore[operator]
i8 ^ f8  # type: ignore[operator]
u8 & f8  # type: ignore[operator]
~f8  # type: ignore[operator]
# TODO: Certain mixes like i4 << u8 go to float and thus should fail