| Crates.io | psy-math |
| lib.rs | psy-math |
| version | 1.0.2 |
| created_at | 2022-12-09 22:35:28.627019+00 |
| updated_at | 2023-08-02 16:03:28.29015+00 |
| description | A fork of jet-proto-math. Helpful math utilities, used by PsyLend. |
| homepage | https://www.psyoptions.io |
| repository | https://github.com/mithraiclabs/psy-math |
| max_upload_size | |
| id | 733514 |
| size | 76,203 |
A fork of jet-proto-math. Helpful math utilities, used by PsyLend, and other PsyFi products.
Provides 192-bit and 128-bit integer libraries for dealing with values where decimal precision is needed without the use of floats.
To run unit tests: cargo test --release
Note that release flag is important as we want to test production behavior where certain overflow checks in non-checked math is disabled.