implied-vol 2.0.0

A pure rust implementation of Peter Jäckel's implied volatility calculation
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub const SQRT_PI_OVER_2: f64 = f64::from_bits(0x3ff4_0d93_1ff6_2705);
pub const SQRT_2_PI: f64 = f64::from_bits(0x4004_0d93_1ff6_2705);
pub const SQRT_3: f64 = f64::from_bits(0x3ffb_b67a_e858_4caa);
pub const SQRT_2_OVER_PI: f64 = f64::from_bits(0x3fe9_8845_33d4_3651);
pub const FRAC_ONE_SQRT_3: f64 = f64::from_bits(0x3fe2_79a7_4590_331d);
pub const FRAC_2_PI_SQRT_27: f64 = f64::from_bits(0x3ff3_58e1_a79e_d7e1);
pub const FRAC_SQRT_3_CUBIC_ROOT_2_PI: f64 = f64::from_bits(0x3fee_095e_1123_53f7);
pub const SIXTEENTH_ROOT_DBL_EPSILON: f64 = f64::from_bits(0x3fba_e89f_995a_d3ad);
pub const SQRT_DBL_MAX: f64 = f64::from_bits(0x5fef_ffff_ffff_ffff);
pub const ONE_OVER_SQRT_2_PI: f64 = f64::from_bits(0x3fd9_8845_33d4_3651);
pub const HALF_OF_LN_2_PI: f64 = f64::from_bits(0x3fed_67f1_c864_beb4);