Upload hf_env/lib/python3.14/site-packages/numpy/_typing/_extended_precision.py with huggingface_hub
Browse files
hf_env/lib/python3.14/site-packages/numpy/_typing/_extended_precision.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""A module with platform-specific extended precision
|
| 2 |
+
`numpy.number` subclasses.
|
| 3 |
+
|
| 4 |
+
The subclasses are defined here (instead of ``__init__.pyi``) such
|
| 5 |
+
that they can be imported conditionally via the numpy's mypy plugin.
|
| 6 |
+
"""
|
| 7 |
+
|
| 8 |
+
import numpy as np
|
| 9 |
+
|
| 10 |
+
from . import _96Bit, _128Bit
|
| 11 |
+
|
| 12 |
+
float96 = np.floating[_96Bit]
|
| 13 |
+
float128 = np.floating[_128Bit]
|
| 14 |
+
complex192 = np.complexfloating[_96Bit, _96Bit]
|
| 15 |
+
complex256 = np.complexfloating[_128Bit, _128Bit]
|