Docs.rs
fltemp-0.1.0
fltemp 0.1.0
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
theDefiBat
Dependencies
ahash =0.7.6
normal
anchor-lang ^0.26.0
normal
anchor-spl ^0.26.0
normal
num ^0.4.0
normal
num-traits ^0.2.15
normal
pyth-sdk-solana ^0.7.0
normal
solana-program ^1.14.13
normal
solana-security-txt ^1.1.0
normal
bincode ^1.3.3
dev
bonfida-test-utils ^0.2.1
dev
solana-program-test ^1.14.13
dev
solana-sdk ^1.14.13
dev
tokio ^1.0.0
dev
Versions
14.45%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Module math
Functions
?
Module
fltemp
::
math
source
·
[
−
]
Expand description
Common math routines.
Functions
checked_add
checked_as_u64
checked_as_u128
checked_ceil_div
checked_decimal_ceil_div
checked_decimal_ceil_mul
checked_decimal_div
checked_decimal_mul
checked_div
checked_float_div
checked_float_mul
checked_mul
checked_pow
checked_powf
checked_powi
checked_sub
checked_token_div
checked_token_mul
scale_to_exponent
to_token_amount
to_ui_amount