solmath 0.1.2

Fixed-point financial math for Solana. Black-Scholes, Greeks, IV, NIG pricing, pool math — pure integer arithmetic, no_std, zero dependencies.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// CU logging stub. Internal.
#[allow(dead_code)]
#[inline(always)]
pub(crate) fn log_cu() {
    // Intentionally a no-op in this crate.
}

/// Fixed-point value logger. Internal.
#[allow(dead_code)]
#[inline]
pub(crate) fn msg_fp(_label: &str, _x: i128) {
    // Intentionally a no-op in this crate.
}