No project description provided
Project description
bigint
Rust crate for arbitrarily big integers, signed or unsigned.
The main API of this crate is to export 2 types: BigUint and BigInt,
meant to represent unsigned or signed integers of arbitrarily large
absolute value. They are meant to be used in almost any way a regular
integer can be used. The only caveat is that they don't implement the
Copy trait ; this means that calling A + B for example will perform
a move operation on A and B, losing ownership of them. Most of the
time you will actually want to call &A + &B, performing the operation
"by reference".
Build, documentation, benchmarks and tests are available the usual way calling the following:
cargo build
cargo docs
cargo bench
cargo test
For benchmarks specifically, you might want to call only some of these:
cargo bench mul
cargo bench add
cargo bench sub
Install as a Python package
Simply use from the base directory
python3 -m pip install .
Python tests are available to be run in the pytest framework. They are located
in the tests folder and should provide ample example usage.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file twibint-0.1.0.tar.gz.
File metadata
- Download URL: twibint-0.1.0.tar.gz
- Upload date:
- Size: 50.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a90543522ff931ffec59ac2d5ca52a0ff75f6cef99555381eadc6ca0a6178c5
|
|
| MD5 |
b6abee1f024b976176e9c72a3c95ffc9
|
|
| BLAKE2b-256 |
b325ded46c79cce0c3d6dfeae7af0491c9c89d49791478e31c0e0a49c8e631c8
|
File details
Details for the file twibint-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: twibint-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 326.8 kB
- Tags: CPython 3.10, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3140d0baccaea4d9c922eb8cede351d69a61c10a76f3d780af95c9a661cfba5d
|
|
| MD5 |
96af2a7d1b47e90c83f381cc954fbd73
|
|
| BLAKE2b-256 |
6a1f4f4db28d0843589ad0b2b13b2ccb4b1b13abe54e767bb7cd11828b335be3
|