MCPcopy Create free account
hub / github.com/Axect/Peroxide / check_lanczos

Function check_lanczos

examples/clippy_verify.rs:97–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95}
96
97fn check_lanczos() {
98 for &z in &[0.5_f64, 1.0, 1.5, 2.5, 3.7, 5.5, 10.25, 100.0] {
99 print_kv(
100 &format!("ln_gamma_approx({z})"),
101 format!("{:.17e}", ln_gamma_approx(z)),
102 );
103 }
104}
105
106fn check_ode() {
107 struct StiffSpiral;

Callers 1

mainFunction · 0.85

Calls 1

print_kvFunction · 0.85

Tested by

no test coverage detected