Crates.io | num-prime |
lib.rs | num-prime |
version | 0.4.4 |
source | src |
created_at | 2022-01-08 04:40:19.256443 |
updated_at | 2024-05-06 16:16:04.413893 |
description | Generic and optimized primality test, factorization and various number theoretic functions with arbitrary precision based on `num`. |
homepage | |
repository | https://github.com/cmpute/num-prime |
max_upload_size | |
id | 510087 |
size | 470,770 |
This crate provides utilities for prime number related functionalities:
u64
integers (using a very fast hashing algorithm)u64
and u128
integersIt's based on the num
creates and most functions are decently optimized with pre-computed tables (see benchmark results here).