codekingpro/portable-devtools
114k
1from typing import assert_type
2
3import numpy as np
4from numpy._typing import _96Bit, _128Bit
5
6assert_type(np.float96(), np.floating[_96Bit])
7assert_type(np.float128(), np.floating[_128Bit])
8assert_type(np.complex192(), np.complexfloating[_96Bit, _96Bit])
9assert_type(np.complex256(), np.complexfloating[_128Bit, _128Bit])
10 