Crates.io | soroban-math |
lib.rs | soroban-math |
version | 0.2.8 |
source | src |
created_at | 2023-12-18 19:57:33.179084 |
updated_at | 2024-10-21 18:30:24.056498 |
description | Fixed-Point Math Library for soroban smart contracts with advanced math and high precision |
homepage | |
repository | https://github.com/rahul-soshte/soroban-math |
max_upload_size | |
id | 1073646 |
size | 33,906 |
A high-precision fixed-point math library for Soroban smart contracts on the Stellar blockchain.
This project aims to empower Soroban developers with precise mathematical operations and advanced functions while minimizing precision loss. It is currently under development and subject to enhancements and optimizations.
Add this to your Cargo.toml:
[dependencies]
soroban-math = "0.2.8"
And this to your code:
use soroban_math::*;
I am monitoring and maintaining this repo closely. Writing test cases. I cannot ask you to assume that the library is 100% safe to use in all scenarios. If you need my consultation while integrating this library and implementing it as safely as possible in your project / hands-on custom implementation, I sure can do it, of course that will be come with some price tag, please DM me on Twitter or mail me here, rahul.soshte47@gmail.com.
Join the discord server to chat with the community!
Soroban-Math is essential for any Soroban-based project that requires high-precision mathematical calculations, for example:
Rahul Soshte (Twitter)