()
| 95 | } |
| 96 | |
| 97 | fn 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 | |
| 106 | fn check_ode() { |
| 107 | struct StiffSpiral; |