-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c41710e
commit 300441a
Showing
3 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
workspace = { members = ["example"] } | ||
[package] | ||
name = "soroban-math" | ||
version = "0.2.5" | ||
version = "0.2.6" | ||
edition = "2021" | ||
description = "Fixed-Point Math Library for soroban smart contracts with advanced math and high precision" | ||
license = "Apache-2.0" | ||
|
@@ -13,4 +13,4 @@ authors = ["Rahul Soshte <[email protected]>"] | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
soroban-sdk = "21.5.0" | ||
soroban-sdk = "21.6.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ Add this to your Cargo.toml: | |
|
||
```toml | ||
[dependencies] | ||
soroban-math = "0.2.5" | ||
soroban-math = "0.2.6" | ||
``` | ||
|
||
And this to your code: | ||
|
@@ -26,11 +26,14 @@ use soroban_math::*; | |
``` | ||
|
||
## Features | ||
1. High-Precision Arithmetic: Perform calculations with numbers using the i128 type, ensuring precision and accuracy. | ||
1. High-Precision Arithmetic: Perform calculations with numbers using the i128/I256 type, ensuring precision and accuracy. | ||
2. Advanced Math Functions: Access advanced mathematical functions like logarithms, exponentiation, and more. | ||
3. Ergonomic API: An intuitive API for easy integration into Soroban smart contracts. | ||
4. Minimized Rounding Losses: Specialized techniques to reduce rounding errors during calculations. | ||
5. Security: Audit-ready code to ensure the safety and correctness of calculations. | ||
|
||
## Some Notes | ||
|
||
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](https://twitter.com/RahulSoshte) or mail me here, [email protected]. | ||
|
||
## Use Cases | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters