oxedyne/fe2o3/fe2o3_num/README.md
1.5 KiB, 9 runs
created by r1870400018:629, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | # Oxedyne Hematite (fe2o3) |
| 2 | |
| 3 | Hematite is a collection of crates built from first principles, providing foundational tools for building robust applications. See the [github repo](https://github.com/Oxedyne/fe2o3) for more information. |
| 4 | |
| 5 | ## This crate |
| 6 | |
| 7 | This is a fundamental numerical crate providing support for primitive and arbitrary-precision numbers in Hematite. It includes: |
| 8 | |
| 9 | - Unit structs `Float32` and `Float64` that wrap `f32` and `f64` with additional capabilities like total ordering and hashing |
| 10 | - Support for arbitrary-precision integers and decimals via `BigInt` and `BigDecimal` types |
| 11 | - A robust `NumberString` parser that handles various numerical formats including: |
| 12 | - Base 10 integers and decimals with optional scientific notation |
| 13 | - Hexadecimal (0x prefix) |
| 14 | - Octal (0o prefix) |
| 15 | - Binary (0b prefix) |
| 16 | - Convenience macros for working with arbitrary-precision numbers |
| 17 | - Traits for common numeric operations |
| 18 | |
| 19 | The crate aims to provide a consistent interface for working with numbers whilst maintaining type safety and avoiding unsafe code. |
| 20 | |
| 21 | ## Supporting Development |
| 22 | |
| 23 | This project is developed and maintained through GitHub Sponsors. If you find Hematite valuable for your work or interesting as a project, consider supporting its continued development. No special perks or privileges - just sustainable open source development of innovative Rust infrastructure and apps. |
| 24 | |
| 25 |  |
| 26 | |
| 27 | ## License |
| 28 | |
| 29 | See the [LICENSE](LICENSE) file for license rights and limitations. |
| 30 | |
| 31 | ## Contact |
| 32 | |
| 33 | <hello@oxedyne.com> |