1"""A module with the precisions of platform-specific `~numpy.number`s."""
2
3from typing import TypeAlias
4from ._nbit_base import _8Bit, _16Bit, _32Bit, _64Bit, _96Bit, _128Bit
5
6
7# To-be replaced with a `npt.NBitBase` subclass by numpy's mypy plugin
8_NBitByte: TypeAlias = _8Bit
9_NBitShort: TypeAlias = _16Bit
10_NBitIntC: TypeAlias = _32Bit
11_NBitIntP: TypeAlias = _32Bit | _64Bit
12_NBitInt: TypeAlias = _NBitIntP
13_NBitLong: TypeAlias = _32Bit | _64Bit
14_NBitLongLong: TypeAlias = _64Bit
15
16_NBitHalf: TypeAlias = _16Bit
17_NBitSingle: TypeAlias = _32Bit
18_NBitDouble: TypeAlias = _64Bit
19_NBitLongDouble: TypeAlias = _64Bit | _96Bit | _128Bit