Expand description
Extended integer type support: i128 and u128.
NumPy does not expose native int128 / uint128 dtypes, but PyO3 can
round-trip Rust i128 / u128 values through Python’s arbitrary-precision
int type. This module provides:
Structs§
- I128
Array - A Python-visible fixed-size array of
i128values. - U128
Array - A Python-visible fixed-size array of
u128values.
Functions§
- from_
i128 - Convert a Rust
i128to a Pythonint. - from_
u128 - Convert a Rust
u128to a Pythonint. - register_
extended_ int_ module - Register extended-integer types and conversion functions into a PyO3 module.
- to_i128
- Convert a Python
intto a Rusti128. - to_u128
- Convert a Python
intto a Rustu128.