Crates.io | conum |
lib.rs | conum |
version | 0.1.0 |
source | src |
created_at | 2023-07-31 20:56:06.103504 |
updated_at | 2023-07-31 20:56:06.103504 |
description | An implementation of big numbers, specified by arbitrary digit widths |
homepage | |
repository | |
max_upload_size | |
id | 931201 |
size | 22,810 |
The goal of this crate is to provide arbitrary fixed digit-width, integers and floats. This was inspired by COBOL's type system, which specifies the size of their numbers in digits.
This is currently used in my hobby COBOL to Rust transpiler, as a way to mirror COBOL types.
If you're looking for the most optimized big number implementation, this won't be it. I recommend checking out bnum
or num_bigint
if that's what you need.