Docs.rs
stellar-contract-utils-0.5.0
stellar-contract-utils 0.5.0
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
ozgunozerk
brozorec
Dependencies
soroban-sdk ^23.0.2
normal
hex-literal ^1.0.0
dev
proptest ^1
dev
soroban-sdk ^23.0.2
dev
Versions
57.39%
of the crate is documented
Go to latest version
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Module fixed_point
stellar_
contract_
utils
0.5.0
Module fixed_
point
Module Items
Enums
Statics
Functions
In stellar_
contract_
utils::
math
stellar_contract_utils
::
math
Module
fixed_
point
Copy item path
Source
Enums
§
Rounding
Statics
§
__
SPEC_
XDR_
TYPE_
ROUNDING
Functions
§
muldiv
Calculates x * y / denominator with full precision, following the selected rounding direction. Throws if result overflows a i128 or denominator is zero (handles phantom overflow).